You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeArtifact::Types::AssociateExternalConnectionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AssociateExternalConnectionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  domain: "DomainName", # required
  domain_owner: "AccountId",
  repository: "RepositoryName", # required
  external_connection: "ExternalConnectionName", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

The name of the domain that contains the repository.

Returns:

  • (String)

    The name of the domain that contains the repository.

#domain_ownerString

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Returns:

  • (String)

    The 12-digit account number of the AWS account that owns the domain.

#external_connectionString

The name of the external connection to add to the repository. The following values are supported:

  • public:npmjs - for the npm public repository.

  • public:pypi - for the Python Package Index.

  • public:maven-central - for Maven Central.

  • public:maven-googleandroid - for the Google Android repository.

  • public:maven-gradleplugins - for the Gradle plugins repository.

  • public:maven-commonsware - for the CommonsWare Android repository.

Returns:

  • (String)

    The name of the external connection to add to the repository.

#repositoryString

The name of the repository to which the external connection is added.

Returns:

  • (String)

    The name of the repository to which the external connection is added.