interface CfnEnvironmentAccountConnectionProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Proton.CfnEnvironmentAccountConnectionProps |
![]() | software.amazon.awscdk.services.proton.CfnEnvironmentAccountConnectionProps |
![]() | aws_cdk.aws_proton.CfnEnvironmentAccountConnectionProps |
![]() | @aws-cdk/aws-proton » CfnEnvironmentAccountConnectionProps |
Properties for defining a CfnEnvironmentAccountConnection
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as proton from '@aws-cdk/aws-proton';
const cfnEnvironmentAccountConnectionProps: proton.CfnEnvironmentAccountConnectionProps = {
codebuildRoleArn: 'codebuildRoleArn',
componentRoleArn: 'componentRoleArn',
environmentAccountId: 'environmentAccountId',
environmentName: 'environmentName',
managementAccountId: 'managementAccountId',
roleArn: 'roleArn',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
codebuild | string | The Amazon Resource Name (ARN) of an IAM service role in the environment account. |
component | 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. |
environment | string | The environment account that's connected to the environment account connection. |
environment | string | The name of the environment that's associated with the environment account connection. |
management | string | The ID of the management account that's connected to the environment account connection. |
role | string | The IAM service role that's associated with the environment account connection. |
tags? | Cfn [] | An optional list of metadata items that you can associate with the AWS Proton environment account connection. |
codebuildRoleArn?
Type:
string
(optional)
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.
componentRoleArn?
Type:
string
(optional)
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 in the AWS Proton User Guide .
environmentAccountId?
Type:
string
(optional)
The environment account that's connected to the environment account connection.
environmentName?
Type:
string
(optional)
The name of the environment that's associated with the environment account connection.
managementAccountId?
Type:
string
(optional)
The ID of the management account that's connected to the environment account connection.
roleArn?
Type:
string
(optional)
The IAM service role that's associated with the environment account connection.
tags?
Type:
Cfn
[]
(optional)
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 in the AWS Proton User Guide .