Skip to content

Environment

Models an ALIYUN execution environment, for use within the CDK toolkit.

Initializer

import { Environment } from '@alicloud/ros-cdk-cxapi'
const environment: Environment = { ... }

Properties

Name Type Description
account string The ALIYUN account this environment deploys into.
name string The arbitrary name of this environment (user-set, or at least user-meaningful).
region string The ALIYUN region name where this environment deploys into.

accountRequired

public readonly account: string;
  • Type: string

The ALIYUN account this environment deploys into.


nameRequired

public readonly name: string;
  • Type: string

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


regionRequired

public readonly region: string;
  • Type: string

The ALIYUN region name where this environment deploys into.