Environment¶
-
class
aws_cdk.cx_api.
Environment
(*, account, name, region)¶ Bases:
object
Models an AWS execution environment, for use within the CDK toolkit.
- Parameters
account (
str
) – The AWS account this environment deploys into.name (
str
) – The arbitrary name of this environment (user-set, or at least user-meaningful).region (
str
) – The AWS region name where this environment deploys into.
- ExampleMetadata
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.cx_api as cx_api environment = cx_api.Environment( account="account", name="name", region="region" )
Attributes
-
account
¶ The AWS account this environment deploys into.
- Return type
str
-
name
¶ The arbitrary name of this environment (user-set, or at least user-meaningful).
- Return type
str
-
region
¶ The AWS region name where this environment deploys into.
- Return type
str