AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb

Overview

Note:

When making an API call, you may pass CreateConnectionInput data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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)


117
118
119
120
121
122
123
124
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 117

class CreateConnectionInput < Struct.new(
  :provider_type,
  :connection_name,
  :tags,
  :host_arn)
  SENSITIVE = []
  include Aws::Structure
end

#host_arnString

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

Returns:

  • (String)


117
118
119
120
121
122
123
124
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 117

class CreateConnectionInput < Struct.new(
  :provider_type,
  :connection_name,
  :tags,
  :host_arn)
  SENSITIVE = []
  include Aws::Structure
end

#provider_typeString

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

Returns:

  • (String)


117
118
119
120
121
122
123
124
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 117

class CreateConnectionInput < Struct.new(
  :provider_type,
  :connection_name,
  :tags,
  :host_arn)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

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

Returns:



117
118
119
120
121
122
123
124
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 117

class CreateConnectionInput < Struct.new(
  :provider_type,
  :connection_name,
  :tags,
  :host_arn)
  SENSITIVE = []
  include Aws::Structure
end