EnvironmentPlaceholders
Placeholders which can be used manifests.
These can occur both in the Asset Manifest as well as the general Cloud Assembly manifest.
Initializers
import { EnvironmentPlaceholders } from '@alicloud/ros-cdk-cxapi'
new EnvironmentPlaceholders()
Name | Type | Description |
---|---|---|
Static Functions
Name | Description |
---|---|
replace |
Replace the environment placeholders in all strings found in a complex object. |
replaceAsync |
Like 'replace', but asynchronous. |
replace
import { EnvironmentPlaceholders } from '@alicloud/ros-cdk-cxapi'
EnvironmentPlaceholders.replace(object: any, values: EnvironmentPlaceholderValues)
Replace the environment placeholders in all strings found in a complex object.
- Type: any
replaceAsync
import { EnvironmentPlaceholders } from '@alicloud/ros-cdk-cxapi'
EnvironmentPlaceholders.replaceAsync(object: any, provider: IEnvironmentPlaceholderProvider)
Like 'replace', but asynchronous.
- Type: any
Constants
Name | Type | Description |
---|---|---|
CURRENT_ACCOUNT |
string |
Insert this into the destination fields to be replaced with the current account. |
CURRENT_REGION |
string |
Insert this into the destination fields to be replaced with the current region. |
CURRENT_ACCOUNT
Required
public readonly CURRENT_ACCOUNT: string;
- Type: string
Insert this into the destination fields to be replaced with the current account.
CURRENT_REGION
Required
public readonly CURRENT_REGION: string;
- Type: string
Insert this into the destination fields to be replaced with the current region.