Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Connection = Connection' {}
- newConnection :: Connection
- connection_ownerAccountId :: Lens' Connection (Maybe Text)
- connection_providerType :: Lens' Connection (Maybe ProviderType)
- connection_connectionName :: Lens' Connection (Maybe Text)
- connection_connectionStatus :: Lens' Connection (Maybe ConnectionStatus)
- connection_hostArn :: Lens' Connection (Maybe Text)
- connection_connectionArn :: Lens' Connection (Maybe Text)
Documentation
data Connection Source #
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.
See: newConnection
smart constructor.
Connection' | |
|
Instances
newConnection :: Connection Source #
Create a value of Connection
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ownerAccountId:Connection'
, connection_ownerAccountId
- 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.
$sel:providerType:Connection'
, connection_providerType
- The name of the external provider where your third-party code repository
is configured.
$sel:connectionName:Connection'
, connection_connectionName
- The name of the connection. Connection names must be unique in an AWS
user account.
$sel:connectionStatus:Connection'
, connection_connectionStatus
- The current status of the connection.
$sel:hostArn:Connection'
, connection_hostArn
- The Amazon Resource Name (ARN) of the host associated with the
connection.
$sel:connectionArn:Connection'
, connection_connectionArn
- 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.
connection_ownerAccountId :: Lens' Connection (Maybe Text) Source #
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_providerType :: Lens' Connection (Maybe ProviderType) Source #
The name of the external provider where your third-party code repository is configured.
connection_connectionName :: Lens' Connection (Maybe Text) Source #
The name of the connection. Connection names must be unique in an AWS user account.
connection_connectionStatus :: Lens' Connection (Maybe ConnectionStatus) Source #
The current status of the connection.
connection_hostArn :: Lens' Connection (Maybe Text) Source #
The Amazon Resource Name (ARN) of the host associated with the connection.
connection_connectionArn :: Lens' Connection (Maybe Text) Source #
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.