AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CodeStarConnections::Connection

CfnConnection

The AWS::CodeStarConnections::Connection resource can be used to connect external source providers with services like AWS CodePipeline . *Note:* A connection created through CloudFormation is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the connection in the console.

Import

import { CfnConnection } from 'aws-cdk-lib/aws-codestarconnections';

Or use the module namespace:

import * as codestarconnections from 'aws-cdk-lib/aws-codestarconnections';
// codestarconnections.CfnConnection

Properties

Configuration passed to the constructor as CfnConnectionProps.

connectionNameRequired
string

The name of the connection. Connection names must be unique in an AWS account .

hostArnOptional
string

The Amazon Resource Name (ARN) of the host associated with the connection.

providerTypeOptional
string

The name of the external provider where your third-party code repository is configured.

tagsOptional
CfnTag[]

Specifies the tags applied to the resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-codestarconnections
CFN TypeAWS::CodeStarConnections::Connection
Properties4

External Links