interface CfnConnectionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeStarConnections.CfnConnectionProps |
Java | software.amazon.awscdk.services.codestarconnections.CfnConnectionProps |
Python | aws_cdk.aws_codestarconnections.CfnConnectionProps |
TypeScript | @aws-cdk/aws-codestarconnections » CfnConnectionProps |
Properties for defining a CfnConnection.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as codestarconnections from '@aws-cdk/aws-codestarconnections';
const cfnConnectionProps: codestarconnections.CfnConnectionProps = {
connectionName: 'connectionName',
// the properties below are optional
hostArn: 'hostArn',
providerType: 'providerType',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| connection | string | The name of the connection. |
| host | string | The Amazon Resource Name (ARN) of the host associated with the connection. |
| provider | string | The name of the external provider where your third-party code repository is configured. |
| tags? | Cfn[] | Specifies the tags applied to the resource. |
connectionName
Type:
string
The name of the connection.
Connection names must be unique in an AWS user account.
hostArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the host associated with the connection.
providerType?
Type:
string
(optional)
The name of the external provider where your third-party code repository is configured.
tags?
Type:
Cfn[]
(optional)
Specifies the tags applied to the resource.

.NET
Java
Python
TypeScript