AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Proton::EnvironmentAccountConnection

CfnEnvironmentAccountConnection

Detailed data of an AWS Proton environment account connection resource.

Import

import { CfnEnvironmentAccountConnection } from 'aws-cdk-lib/aws-proton';

Or use the module namespace:

import * as proton from 'aws-cdk-lib/aws-proton';
// proton.CfnEnvironmentAccountConnection

Properties

Configuration passed to the constructor as CfnEnvironmentAccountConnectionProps.

codebuildRoleArnOptional
string

The Amazon Resource Name (ARN) of an IAM service role in the environment account. AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.

componentRoleArnOptional
string

The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account. The environment account connection must have a `componentRoleArn` to allow directly defined components to be associated with any environments running in the account. For more information about components, see [AWS Proton components](https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html) in the *AWS Proton User Guide* .

environmentAccountIdOptional
string

The environment account that's connected to the environment account connection.

environmentNameOptional
string

The name of the environment that's associated with the environment account connection.

managementAccountIdOptional
string

The ID of the management account that's connected to the environment account connection.

roleArnOptional
string

The IAM service role that's associated with the environment account connection.

tagsOptional
CfnTag[]

An optional list of metadata items that you can associate with the AWS Proton environment account connection. A tag is a key-value pair. For more information, see [AWS Proton resources and tagging](https://docs.aws.amazon.com/proton/latest/userguide/resources.html) in the *AWS Proton User Guide* .

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-proton
CFN TypeAWS::Proton::EnvironmentAccountConnection
Properties7

External Links