Interface IStackSynthesizer

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IStackSynthesizer.Jsii$Default
All Known Implementing Classes:
BootstraplessSynthesizer, CliCredentialsStackSynthesizer, DefaultStackSynthesizer, IStackSynthesizer.Jsii$Proxy, LegacyStackSynthesizer, NestedStackSynthesizer, StackSynthesizer

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.078Z") @Stability(Stable) public interface IStackSynthesizer extends software.amazon.jsii.JsiiSerializable
Encodes information how a certain Stack should be deployed.
  • Method Details

    • addDockerImageAsset

      @Stability(Stable) @NotNull DockerImageAssetLocation addDockerImageAsset(@NotNull DockerImageAssetSource asset)
      Register a Docker Image Asset.

      Returns the parameters that can be used to refer to the asset inside the template.

      Parameters:
      asset - This parameter is required.
    • addFileAsset

      @Stability(Stable) @NotNull FileAssetLocation addFileAsset(@NotNull FileAssetSource asset)
      Register a File Asset.

      Returns the parameters that can be used to refer to the asset inside the template.

      Parameters:
      asset - This parameter is required.
    • bind

      @Stability(Stable) void bind(@NotNull Stack stack)
      Bind to the stack this environment is going to be used on.

      Must be called before any of the other methods are called.

      Parameters:
      stack - This parameter is required.
    • synthesize

      @Stability(Stable) void synthesize(@NotNull ISynthesisSession session)
      Synthesize the associated stack to the session.

      Parameters:
      session - This parameter is required.