UpdateEnvironmentInput
¶
Source code in docs_src/capo_assurance/types/update_environment_input.py
description
instance-attribute
¶
description: NotRequired[EnvironmentDescription]
A description of the environment.
environment_arn
instance-attribute
¶
environment_arn: EnvironmentArn
The ARN of this governance environment.
environment_scope
instance-attribute
¶
environment_scope: NotRequired[EnvironmentScope]
The set of AWS accounts this environment evaluates.
ORGANIZATION: convert the environment into an organization environment. Only valid when the environment is owned by the organization's management account and AWS Organizations trusted access for AWS Assurance is enabled; you must be in that organization. Idempotent when the scope is already ORGANIZATION.
SINGLE_ACCOUNT: revert the environment to evaluating only its own account. This operation is idempotent when the scope is already SINGLE_ACCOUNT. After this change, the environment no longer evaluates organization member accounts.
null or omitted: leaves the environment's scope unchanged.
identity_store
instance-attribute
¶
identity_store: NotRequired[IdentityStoreUpdate]
The update to the identity store configuration. You can provide a new configuration or disable the identity store.
kms_key_arn
instance-attribute
¶
kms_key_arn: NotRequired[OptionalKmsKeyArn]
The ARN of the AWS KMS key that encrypts evidence. To change the key, specify a new ARN. To remove the key, specify an empty string.
operator_role
instance-attribute
¶
operator_role: NotRequired[IamRoleArn]
The IAM role that AWS Assurance assumes to issue temporary credentials to operators who use your application. The role's trust policy must allow the AWS Assurance service principal to call sts:AssumeRole.
organizational_unit_ids
instance-attribute
¶
organizational_unit_ids: NotRequired[OrganizationalUnitIdsUpdate]
The replacement organizational unit scope for the environment. Provide a replacement list of organizational units, or set cleared to evaluate the entire organization. Only valid on an organization environment, or together with a scope change to ORGANIZATION. Null or omitted leaves organizational unit scoping unchanged.
regions
instance-attribute
¶
regions: NotRequired[RegionList]
The AWS Regions to evaluate across. Replaces existing list. Send empty list to revert to all generally available Regions in the partition.