Environment
Detailed data of an AWS Proton environment resource. An AWS Proton environment is a set of resources shared across AWS Proton services.
Contents
- arn
-
The Amazon Resource Name (ARN) of the environment.
Type: String
Required: Yes
- createdAt
-
The time when the environment was created.
Type: Timestamp
Required: Yes
- deploymentStatus
-
The environment deployment status.
Type: String
Valid Values:
IN_PROGRESS | FAILED | SUCCEEDED | DELETE_IN_PROGRESS | DELETE_FAILED | DELETE_COMPLETE | CANCELLING | CANCELLED
Required: Yes
- lastDeploymentAttemptedAt
-
The time when a deployment of the environment was last attempted.
Type: Timestamp
Required: Yes
- lastDeploymentSucceededAt
-
The time when the environment was last deployed successfully.
Type: Timestamp
Required: Yes
- name
-
The name of the environment.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern:
^[0-9A-Za-z]+[0-9A-Za-z_\-]*$
Required: Yes
- templateMajorVersion
-
The major version of the environment template.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 20.
Pattern:
^(0|([1-9]{1}\d*))$
Required: Yes
- templateMinorVersion
-
The minor version of the environment template.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 20.
Pattern:
^(0|([1-9]{1}\d*))$
Required: Yes
- templateName
-
The Amazon Resource Name (ARN) of the environment template.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern:
^[0-9A-Za-z]+[0-9A-Za-z_\-]*$
Required: Yes
- codebuildRoleArn
-
The Amazon Resource Name (ARN) of the IAM service role that allows AWS Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
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 this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a
componentRoleArn
to allow directly defined components to be associated with the environment.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
- deploymentStatusMessage
-
An environment deployment status message.
Type: String
Required: No
- description
-
The description of the environment.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 500.
Required: No
- environmentAccountConnectionId
-
The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
Type: String
Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Required: No
- environmentAccountId
-
The ID of the environment account that the environment infrastructure resources are provisioned in.
Type: String
Pattern:
^\d{12}$
Required: No
- lastAttemptedDeploymentId
-
The ID of the last attempted deployment of this environment.
Type: String
Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Required: No
- lastSucceededDeploymentId
-
The ID of the last successful deployment of this environment.
Type: String
Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Required: No
- protonServiceRoleArn
-
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other services on your behalf.
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: No
- provisioning
-
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
Type: String
Valid Values:
CUSTOMER_MANAGED
Required: No
- provisioningRepository
-
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with AWS Proton. For more information, see CreateRepository.
Type: RepositoryBranch object
Required: No
- spec
-
The environment spec.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 51200.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: