Skip to content

Environment

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

Initializer

import com.aliyun.ros.cdk.cxapi.Environment;
Environment.builder()
    .account(java.lang.String)
    .name(java.lang.String)
    .region(java.lang.String)
    .build();

Properties

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

accountRequired

public java.lang.String getAccount();
  • Type: java.lang.String

The ALIYUN account this environment deploys into.


nameRequired

public java.lang.String getName();
  • Type: java.lang.String

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


regionRequired

public java.lang.String getRegion();
  • Type: java.lang.String

The ALIYUN region name where this environment deploys into.