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

Class: Aws::CodeStarconnections::Types::CreateConnectionInput

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

Overview

Note:

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

{
  provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
  connection_name: "ConnectionName", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
  host_arn: "HostArn",
}

Instance Attribute Summary collapse

Instance Attribute Details

#connection_nameString

The name of the connection to be created. The name must be unique in the calling AWS account.

Returns:

  • (String)

    The name of the connection to be created.

#host_arnString

The Amazon Resource Name (ARN) of the host associated with the connection to be created.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the host associated with the connection to be created.

#provider_typeString

The name of the external provider where your third-party code repository is configured. The valid provider type is Bitbucket.

Possible values:

  • Bitbucket
  • GitHub
  • GitHubEnterpriseServer

Returns:

  • (String)

    The name of the external provider where your third-party code repository is configured.

#tagsArray<Types::Tag>

The key-value pair to use when tagging the resource.

Returns:

  • (Array<Types::Tag>)

    The key-value pair to use when tagging the resource.