Skip to content

EnvironmentUtils

Initializers

import { EnvironmentUtils } from '@alicloud/ros-cdk-cxapi'
new EnvironmentUtils()
Name Type Description

Static Functions

Name Description
format Format an environment string from an account and region.
make Build an environment object from an account and region.
parse No description.

format

import { EnvironmentUtils } from '@alicloud/ros-cdk-cxapi'
EnvironmentUtils.format(account: string, region: string)

Format an environment string from an account and region.

accountRequired

  • Type: string

regionRequired

  • Type: string

make

import { EnvironmentUtils } from '@alicloud/ros-cdk-cxapi'
EnvironmentUtils.make(account: string, region: string)

Build an environment object from an account and region.

accountRequired

  • Type: string

regionRequired

  • Type: string

parse

import { EnvironmentUtils } from '@alicloud/ros-cdk-cxapi'
EnvironmentUtils.parse(environment: string)

environmentRequired

  • Type: string