aws-cdk-lib.aws_codestarconnections.CfnConnectionProps

interface CfnConnectionProps

LanguageType name
.NETAmazon.CDK.AWS.CodeStarConnections.CfnConnectionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodestarconnections#CfnConnectionProps
Javasoftware.amazon.awscdk.services.codestarconnections.CfnConnectionProps
Pythonaws_cdk.aws_codestarconnections.CfnConnectionProps
TypeScript aws-cdk-lib » 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 { aws_codestarconnections as codestarconnections } from 'aws-cdk-lib';
const cfnConnectionProps: codestarconnections.CfnConnectionProps = {
  connectionName: 'connectionName',

  // the properties below are optional
  hostArn: 'hostArn',
  providerType: 'providerType',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
connectionNamestringThe name of the connection.
hostArn?stringThe Amazon Resource Name (ARN) of the host associated with the connection.
providerType?stringThe name of the external provider where your third-party code repository is configured.
tags?CfnTag[]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: CfnTag[] (optional)

Specifies the tags applied to the resource.