Class: Aws::CodeStarconnections::Types::Connection

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codestarconnections/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.

<note markdown=“1”> The ARN is never reused if the connection is deleted.

</note>

Returns:

  • (String)


70
71
72
73
74
75
76
77
78
79
# File 'lib/aws-sdk-codestarconnections/types.rb', line 70

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)


70
71
72
73
74
75
76
77
78
79
# File 'lib/aws-sdk-codestarconnections/types.rb', line 70

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)


70
71
72
73
74
75
76
77
78
79
# File 'lib/aws-sdk-codestarconnections/types.rb', line 70

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)


70
71
72
73
74
75
76
77
78
79
# File 'lib/aws-sdk-codestarconnections/types.rb', line 70

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)


70
71
72
73
74
75
76
77
78
79
# File 'lib/aws-sdk-codestarconnections/types.rb', line 70

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)


70
71
72
73
74
75
76
77
78
79
# File 'lib/aws-sdk-codestarconnections/types.rb', line 70

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