EnvironmentAccountConnection
Detailed data of an AWS Proton environment account connection resource.
Contents
- arn
-
The Amazon Resource Name (ARN) of the environment account connection.
Type: String
Required: Yes
- environmentAccountId
-
The environment account that's connected to the environment account connection.
Type: String
Pattern:
^\d{12}$
Required: Yes
- environmentName
-
The name of the environment that's associated with the environment account connection.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern:
^[0-9A-Za-z]+[0-9A-Za-z_\-]*$
Required: Yes
- id
-
The ID of the environment account connection.
Type: String
Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Required: Yes
- lastModifiedAt
-
The time when the environment account connection was last modified.
Type: Timestamp
Required: Yes
- managementAccountId
-
The ID of the management account that's connected to the environment account connection.
Type: String
Pattern:
^\d{12}$
Required: Yes
- requestedAt
-
The time when the environment account connection request was made.
Type: Timestamp
Required: Yes
- roleArn
-
The IAM service role that's associated with the environment account connection.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 200.
Pattern:
^arn:(aws|aws-cn|aws-us-gov):[a-zA-Z0-9-]+:[a-zA-Z0-9-]*:\d{12}:([\w+=,.@-]+[/:])*[\w+=,.@-]+$
Required: Yes
- status
-
The status of the environment account connection.
Type: String
Valid Values:
PENDING | CONNECTED | REJECTED
Required: Yes
- codebuildRoleArn
-
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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
^arn:(aws|aws-cn|aws-us-gov):iam::\d{12}:role/([\w+=,.@-]{1,512}[/:])*([\w+=,.@-]{1,64})$
Required: No
- componentRoleArn
-
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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
^arn:(aws|aws-cn|aws-us-gov):iam::\d{12}:role/([\w+=,.@-]{1,512}[/:])*([\w+=,.@-]{1,64})$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: