Environment

class aws_cdk.cx_api.Environment(*, account, name, region)

Bases: object

(deprecated) Models an AWS execution environment, for use within the CDK toolkit.

Parameters:
  • account (str) – (deprecated) The AWS account this environment deploys into.

  • name (str) – (deprecated) The arbitrary name of this environment (user-set, or at least user-meaningful).

  • region (str) – (deprecated) The AWS region name where this environment deploys into.

Deprecated:

The official definition of this type has moved to @aws-cdk/cloud-assembly-api.

Stability:

deprecated

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

(deprecated) The AWS account this environment deploys into.

Stability:

deprecated

name

(deprecated) The arbitrary name of this environment (user-set, or at least user-meaningful).

Stability:

deprecated

region

(deprecated) The AWS region name where this environment deploys into.

Stability:

deprecated