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.126.0 (build 206d44b)", date="2026-02-09T14:39:21.384Z") @Stability(Deprecated) @Deprecated public class EnvironmentPlaceholders extends software.amazon.jsii.JsiiObject
Deprecated.
The definition of this type has moved to @aws-cdk/cloud-assembly-api.
(deprecated) 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();
 

  • Field Details

    • CURRENT_ACCOUNT

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

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

      @Stability(Deprecated) @Deprecated public static final String CURRENT_REGION
      Deprecated.
      (deprecated) Insert this into the destination fields to be replaced with the current region.
  • Constructor Details

    • EnvironmentPlaceholders

      protected EnvironmentPlaceholders(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • EnvironmentPlaceholders

      protected EnvironmentPlaceholders(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • EnvironmentPlaceholders

      @Stability(Stable) public EnvironmentPlaceholders()
      Deprecated.
  • Method Details

    • replace

      @Stability(Deprecated) @Deprecated @NotNull public static Object replace(@NotNull Object object, @NotNull EnvironmentPlaceholderValues values)
      Deprecated.
      (deprecated) 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(Deprecated) @Deprecated @NotNull public static Object replaceAsync(@NotNull Object object, @NotNull IEnvironmentPlaceholderProvider provider)
      Deprecated.
      (deprecated) Like 'replace', but asynchronous.

      Parameters:
      object - This parameter is required.
      provider - This parameter is required.