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.103.1 (build bef2dea)",
date="2024-10-25T14:21:25.311Z")
@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
Modifier and TypeFieldDescriptionstatic final String
Insert this into the destination fields to be replaced with the current account.static final String
Insert this into the destination fields to be replaced with the current partition.static final String
Insert this into the destination fields to be replaced with the current region. -
Constructor Summary
ModifierConstructorDescriptionprotected
EnvironmentPlaceholders
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
EnvironmentPlaceholders
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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.
-