Package software.amazon.awscdk.cxapi
Class EnvironmentPlaceholders
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cxapi.EnvironmentPlaceholders
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:24.909Z")
@Stability(Stable)
public class EnvironmentPlaceholders
extends software.amazon.jsii.JsiiObject
Placeholders which can be used manifests.
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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringInsert this into the destination fields to be replaced with the current account.static final StringInsert this into the destination fields to be replaced with the current partition.static final StringInsert this into the destination fields to be replaced with the current region. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEnvironmentPlaceholders(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedEnvironmentPlaceholders(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic Objectreplace(Object object, EnvironmentPlaceholderValues values) Replace the environment placeholders in all strings found in a complex object.static ObjectreplaceAsync(Object object, IEnvironmentPlaceholderProvider provider) Like 'replace', but asynchronous.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CURRENT_ACCOUNT
Insert this into the destination fields to be replaced with the current account. -
CURRENT_PARTITION
Insert this into the destination fields to be replaced with the current partition. -
CURRENT_REGION
Insert this into the destination fields to be replaced with the current region.
-
-
Constructor Details
-
EnvironmentPlaceholders
protected EnvironmentPlaceholders(software.amazon.jsii.JsiiObjectRef objRef) -
EnvironmentPlaceholders
protected EnvironmentPlaceholders(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
EnvironmentPlaceholders
@Stability(Stable) public EnvironmentPlaceholders()
-
-
Method Details
-
replace
@Stability(Stable) @NotNull public static Object replace(@NotNull Object object, @NotNull EnvironmentPlaceholderValues values) Replace the environment placeholders in all strings found in a complex object.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).
- Parameters:
object- This parameter is required.values- This parameter is required.
-
replaceAsync
@Stability(Stable) @NotNull public static Object replaceAsync(@NotNull Object object, @NotNull IEnvironmentPlaceholderProvider provider) Like 'replace', but asynchronous.- Parameters:
object- This parameter is required.provider- This parameter is required.
-