CreateEnvironmentInput
¶
Source code in docs_src/capo_assurance/types/create_environment_input.py
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_name
instance-attribute
¶
environment_name: EnvironmentName
The name of the environment.
environment_scope
instance-attribute
¶
environment_scope: NotRequired[EnvironmentScope]
The set of AWS accounts that the new environment evaluates. If you omit the scope, AWS Assurance uses SINGLE_ACCOUNT. Valid values:
-
ORGANIZATION– Evaluates the member accounts in your organization in AWS Organizations. Call this operation from the management account or a delegated administrator account, with trusted access for AWS Assurance turned on. -
SINGLE_ACCOUNT– Evaluates only the account where you create the environment.
identity_store
instance-attribute
¶
identity_store: NotRequired[IdentityStoreConfig]
The identity store configuration.
kms_key_arn
instance-attribute
¶
kms_key_arn: NotRequired[KmsKeyArn]
The ARN of an optional AWS KMS key that encrypts evidence. The AWS Assurance service role must have kms:Decrypt and kms:GenerateDataKey permissions on this key.
operator_role
instance-attribute
¶
operator_role: NotRequired[IamRoleArn]
The AWS Identity and Access Management (IAM) role that AWS Assurance assumes to issue temporary credentials to operators who use your application. You must specify this role to support operator sessions. 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[OrganizationalUnitIdList]
The organizational units to scope the organization environment's evaluation to. Only valid when the environment scope is ORGANIZATION. When omitted, the entire organization is in scope. Must contain at least one OU when provided. Accounts in nested OUs under a listed OU are included.
regions
instance-attribute
¶
regions: NotRequired[RegionList]
The AWS Regions to evaluate across. When empty or omitted, the environment evaluates all generally available Regions in the partition. Applies to all accounts in scope.