CfnConnectionProps Struct
Properties for defining a CfnConnection.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codeconnections as codeconnections } from 'aws-cdk-lib';
const cfnConnectionProps: codeconnections.CfnConnectionProps = {
connectionName: 'connectionName',
// the properties below are optional
hostArn: 'hostArn',
providerType: 'providerType',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
connectionNamestringconnection_namestrconnectionNameStringConnectionNamestringConnectionName*stringrequired#The name of the connection.
Connection names must be unique in an AWS account .
hostArnoptionalstringhost_arnoptionalstrhostArnoptionalStringHostArnoptionalstringHostArnoptional*string#The Amazon Resource Name (ARN) of the host associated with the connection.
providerTypeoptionalstringprovider_typeoptionalstrproviderTypeoptionalStringProviderTypeoptionalstringProviderTypeoptional*string#The name of the external provider where your third-party code repository is configured.