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_arn ⇒ String

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 services.

The ARN is never reused if the connection is deleted.

Returns:

  • (String)


118
119
120
121
122
123
124
125
126
127
128
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 118

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

#connection_name ⇒ String

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

Returns:

  • (String)


118
119
120
121
122
123
124
125
126
127
128
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 118

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

#connection_status ⇒ String

The current status of the connection.

Returns:

  • (String)


118
119
120
121
122
123
124
125
126
127
128
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 118

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

#host_arn ⇒ String

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

Returns:

  • (String)


118
119
120
121
122
123
124
125
126
127
128
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 118

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

#owner_account_id ⇒ String

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)


118
119
120
121
122
123
124
125
126
127
128
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 118

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

#provider_endpoint ⇒ String

The endpoint of the ghe.com tenant where your organization resides. This value is populated only for a connection with a ProviderType of GitHubEnterpriseCloudDataResidency. It is empty for all other provider types.

Returns:

  • (String)


118
119
120
121
122
123
124
125
126
127
128
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 118

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

#provider_type ⇒ String

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

Returns:

  • (String)


118
119
120
121
122
123
124
125
126
127
128
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 118

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