Skip to content

UpdateEnvironmentInput

Source code in docs_src/capo_assurance/types/update_environment_input.py
class UpdateEnvironmentInput(TypedDict, closed=True):
    environment_arn: "capo_assurance.types.environment_arn.EnvironmentArn"
    """<p>The ARN of this governance environment.</p>"""
    description: NotRequired[
        "capo_assurance.types.environment_description.EnvironmentDescription"
    ]
    """<p>A description of the environment.</p>"""
    identity_store: NotRequired[
        "capo_assurance.types.identity_store_update.IdentityStoreUpdate"
    ]
    """<p>The update to the identity store configuration. You can provide a new configuration or disable the identity store.</p>"""
    operator_role: NotRequired["capo_assurance.types.iam_role_arn.IamRoleArn"]
    """<p>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 <code>sts:AssumeRole</code>.</p>"""
    kms_key_arn: NotRequired[
        "capo_assurance.types.optional_kms_key_arn.OptionalKmsKeyArn"
    ]
    """<p>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.</p>"""
    regions: NotRequired["capo_assurance.types.region_list.RegionList"]
    """<p>The AWS Regions to evaluate across. Replaces existing list. Send empty list to revert to all generally available Regions in the partition.</p>"""
    environment_scope: NotRequired[
        "capo_assurance.types.environment_scope.EnvironmentScope"
    ]
    """<p>The set of AWS accounts this environment evaluates.</p> <p>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.</p> <p>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.</p> <p>null or omitted: leaves the environment's scope unchanged.</p>"""
    organizational_unit_ids: NotRequired[
        "capo_assurance.types.organizational_unit_ids_update.OrganizationalUnitIdsUpdate"
    ]
    """<p>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.</p>"""

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.