Class: Aws::CodeConnections::Types::Connection

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

Overview

A resource that is used to connect third-party source providers with services like CodePipeline.

Note: A connection created through CloudFormation, the CLI, or the SDK is in PENDING status by default. You can make its status AVAILABLE by updating the connection in the console.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#connection_arnString

The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Services.

The ARN is never reused if the connection is deleted.

Returns:

  • (String)


111
112
113
114
115
116
117
118
119
120
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 111

class Connection < Struct.new(
  :connection_name,
  :connection_arn,
  :provider_type,
  :owner_account_id,
  :connection_status,
  :host_arn)
  SENSITIVE = []
  include Aws::Structure
end

#connection_nameString

The name of the connection. Connection names must be unique in an Amazon Web Services account.

Returns:

  • (String)


111
112
113
114
115
116
117
118
119
120
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 111

class Connection < Struct.new(
  :connection_name,
  :connection_arn,
  :provider_type,
  :owner_account_id,
  :connection_status,
  :host_arn)
  SENSITIVE = []
  include Aws::Structure
end

#connection_statusString

The current status of the connection.

Returns:

  • (String)


111
112
113
114
115
116
117
118
119
120
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 111

class Connection < Struct.new(
  :connection_name,
  :connection_arn,
  :provider_type,
  :owner_account_id,
  :connection_status,
  :host_arn)
  SENSITIVE = []
  include Aws::Structure
end

#host_arnString

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

Returns:

  • (String)


111
112
113
114
115
116
117
118
119
120
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 111

class Connection < Struct.new(
  :connection_name,
  :connection_arn,
  :provider_type,
  :owner_account_id,
  :connection_status,
  :host_arn)
  SENSITIVE = []
  include Aws::Structure
end

#owner_account_idString

The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.

Returns:

  • (String)


111
112
113
114
115
116
117
118
119
120
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 111

class Connection < Struct.new(
  :connection_name,
  :connection_arn,
  :provider_type,
  :owner_account_id,
  :connection_status,
  :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)


111
112
113
114
115
116
117
118
119
120
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 111

class Connection < Struct.new(
  :connection_name,
  :connection_arn,
  :provider_type,
  :owner_account_id,
  :connection_status,
  :host_arn)
  SENSITIVE = []
  include Aws::Structure
end