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.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.722Z") @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

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    EnvironmentPlaceholders(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    EnvironmentPlaceholders(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Object
    Replace the environment placeholders in all strings found in a complex object.
    static Object
    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

      @Stability(Stable) public static final String CURRENT_ACCOUNT
      Insert this into the destination fields to be replaced with the current account.
    • CURRENT_PARTITION

      @Stability(Stable) public static final String CURRENT_PARTITION
      Insert this into the destination fields to be replaced with the current partition.
    • CURRENT_REGION

      @Stability(Stable) public static final String 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.