Struct aws_sdk_codestarconnections::model::Connection
source · [−]#[non_exhaustive]pub struct Connection {
pub connection_name: Option<String>,
pub connection_arn: Option<String>,
pub provider_type: Option<ProviderType>,
pub owner_account_id: Option<String>,
pub connection_status: Option<ConnectionStatus>,
pub host_arn: Option<String>,
}
Expand description
A resource that is used to connect third-party source providers with services like AWS 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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.connection_name: Option<String>
The name of the connection. Connection names must be unique in an AWS user account.
connection_arn: Option<String>
The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
The ARN is never reused if the connection is deleted.
provider_type: Option<ProviderType>
The name of the external provider where your third-party code repository is configured.
owner_account_id: Option<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.
connection_status: Option<ConnectionStatus>
The current status of the connection.
host_arn: Option<String>
The Amazon Resource Name (ARN) of the host associated with the connection.
Implementations
The name of the connection. Connection names must be unique in an AWS user account.
The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
The ARN is never reused if the connection is deleted.
The name of the external provider where your third-party code repository is configured.
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.
The current status of the connection.
Creates a new builder-style object to manufacture Connection
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more