AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CodeConnections::Connection

CfnConnection

A resource that is used to connect third-party source providers with services like 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.

Import

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

Or use the module namespace:

import * as codeconnections from 'aws-cdk-lib/aws-codeconnections';
// codeconnections.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 a connection.

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-codeconnections
CFN TypeAWS::CodeConnections::Connection
Properties4

External Links