@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.899Z") @Stability(value=Stable) public class EnvironmentPlaceholders extends software.amazon.jsii.JsiiObject
These can occur both in the Asset Manifest as well as the general Cloud Assembly manifest.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.cxapi.*; EnvironmentPlaceholders environmentPlaceholders = new EnvironmentPlaceholders();
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENT_ACCOUNT
Insert this into the destination fields to be replaced with the current account.
|
static String |
CURRENT_PARTITION
Insert this into the destination fields to be replaced with the current partition.
|
static String |
CURRENT_REGION
Insert this into the destination fields to be replaced with the current region.
|
| Modifier | Constructor and Description |
|---|---|
|
EnvironmentPlaceholders() |
protected |
EnvironmentPlaceholders(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EnvironmentPlaceholders(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
replace(Object object,
EnvironmentPlaceholderValues values)
Replace the environment placeholders in all strings found in a complex object.
|
static Object |
replaceAsync(Object object,
IEnvironmentPlaceholderProvider provider)
Like 'replace', but asynchronous.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CURRENT_ACCOUNT
@Stability(value=Stable) public static final String CURRENT_PARTITION
@Stability(value=Stable) public static final String CURRENT_REGION
protected EnvironmentPlaceholders(software.amazon.jsii.JsiiObjectRef objRef)
protected EnvironmentPlaceholders(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public EnvironmentPlaceholders()
@Stability(value=Stable) @NotNull public static Object replace(@NotNull Object object, @NotNull EnvironmentPlaceholderValues values)
Duplicated between cdk-assets and aws-cdk CLI because we don't have a good single place to put it (they're nominally independent tools).
object - This parameter is required.values - This parameter is required.@Stability(value=Stable) @NotNull public static Object replaceAsync(@NotNull Object object, @NotNull IEnvironmentPlaceholderProvider provider)
object - This parameter is required.provider - This parameter is required.Copyright © 2022. All rights reserved.