Environment
¶
Source code in docs_src/capo_assurance/types/environment.py
created_at
instance-attribute
¶
created_at: NotRequired[datetime]
The timestamp when the environment was created.
description
instance-attribute
¶
description: NotRequired[EnvironmentDescription]
A description of the environment.
domain_prefix
instance-attribute
¶
domain_prefix: NotRequired[DomainPrefix]
The optional custom domain prefix for the environment portal URL. The prefix must be unique within the AWS Region. If you don't specify a prefix, AWS Assurance uses the environment ID. You can't change the prefix after you create the environment.
environment_arn
instance-attribute
¶
environment_arn: ResourceArn
The ARN of this governance environment.
environment_id
instance-attribute
¶
environment_id: EnvironmentId
The unique identifier of the environment.
environment_name
instance-attribute
¶
environment_name: NotRequired[EnvironmentName]
The name of the environment.
environment_scope
instance-attribute
¶
environment_scope: NotRequired[EnvironmentScope]
The set of AWS accounts this environment evaluates (read-only).
evidence_location
instance-attribute
¶
evidence_location: NotRequired[S3Uri]
The evidence bucket location. Read-only. To configure evidence sources, use CreateEnvironmentConnection.
identity_store
instance-attribute
¶
identity_store: NotRequired[IdentityStoreInfo]
The identity store configuration.
kms_key_arn
instance-attribute
¶
kms_key_arn: NotRequired[KmsKeyArn]
The ARN of a customer managed AWS KMS key used to encrypt evidence at rest. When set, the service encrypts new evidence uploads using this key.
operator_role
instance-attribute
¶
operator_role: NotRequired[IamRoleArn]
The IAM role assumed to issue temporary credentials for operator application users (both IAM and IAM Identity Center flows). Trust policy must allow the AWS Assurance service principal to sts:AssumeRole.
organizational_unit_ids
instance-attribute
¶
organizational_unit_ids: NotRequired[OrganizationalUnitIdList]
The organizational units this environment's evaluation is scoped to. Only present on organization environments. When absent, the entire organization is in scope. Accounts in nested OUs under a listed OU are included.
regions
instance-attribute
¶
regions: NotRequired[RegionList]
The AWS Regions in scope for evaluation. When empty or omitted, the environment evaluates all generally available Regions in the partition. Applies to all accounts.
service_role
instance-attribute
¶
service_role: NotRequired[IamRoleArn]
The IAM role AWS Assurance assumes to discover and evaluate the account's resources. Not set for ORGANIZATION environments, which always use the AWS Assurance service-linked role (AWSServiceRoleForAssurance) in each member account.
status
instance-attribute
¶
status: EnvironmentStatus
The current lifecycle state of the environment.