Package software.amazon.awscdk.core
Class StackSynthesizer
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.StackSynthesizer
- All Implemented Interfaces:
IStackSynthesizer,software.amazon.jsii.JsiiSerializable
- Direct Known Subclasses:
CliCredentialsStackSynthesizer,DefaultStackSynthesizer,LegacyStackSynthesizer,NestedStackSynthesizer
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.139Z")
@Stability(Stable)
public abstract class StackSynthesizer
extends software.amazon.jsii.JsiiObject
implements IStackSynthesizer
Base class for implementing an IStackSynthesizer.
This class needs to exist to provide public surface area for external implementations of stack synthesizers. The protected methods give access to functions that are otherwise @_internal to the framework and could not be accessed by external implementors.
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IStackSynthesizer
IStackSynthesizer.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedStackSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedStackSynthesizer(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionabstract DockerImageAssetLocationRegister a Docker Image Asset.abstract FileAssetLocationaddFileAsset(FileAssetSource asset) Register a File Asset.abstract voidBind to the stack this environment is going to be used on.protected voidemitStackArtifact(Stack stack, ISynthesisSession session) Write the stack artifact to the session.protected voidemitStackArtifact(Stack stack, ISynthesisSession session, SynthesizeStackArtifactOptions options) Write the stack artifact to the session.abstract voidsynthesize(ISynthesisSession session) Synthesize the associated stack to the session.protected voidsynthesizeStackTemplate(Stack stack, ISynthesisSession session) Have the stack write out its template.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
-
Constructor Details
-
StackSynthesizer
protected StackSynthesizer(software.amazon.jsii.JsiiObjectRef objRef) -
StackSynthesizer
protected StackSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
StackSynthesizer
@Stability(Stable) protected StackSynthesizer()
-
-
Method Details
-
addDockerImageAsset
@Stability(Stable) @NotNull public abstract 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.
- Specified by:
addDockerImageAssetin interfaceIStackSynthesizer- Parameters:
asset- This parameter is required.
-
addFileAsset
@Stability(Stable) @NotNull public abstract FileAssetLocation addFileAsset(@NotNull FileAssetSource asset) Register a File Asset.Returns the parameters that can be used to refer to the asset inside the template.
- Specified by:
addFileAssetin interfaceIStackSynthesizer- Parameters:
asset- This parameter is required.
-
bind
Bind to the stack this environment is going to be used on.Must be called before any of the other methods are called.
- Specified by:
bindin interfaceIStackSynthesizer- Parameters:
stack- This parameter is required.
-
emitStackArtifact
@Stability(Stable) protected void emitStackArtifact(@NotNull Stack stack, @NotNull ISynthesisSession session, @Nullable SynthesizeStackArtifactOptions options) Write the stack artifact to the session.Use default settings to add a CloudFormationStackArtifact artifact to the given synthesis session.
- Parameters:
stack- This parameter is required.session- This parameter is required.options-
-
emitStackArtifact
@Stability(Stable) protected void emitStackArtifact(@NotNull Stack stack, @NotNull ISynthesisSession session) Write the stack artifact to the session.Use default settings to add a CloudFormationStackArtifact artifact to the given synthesis session.
- Parameters:
stack- This parameter is required.session- This parameter is required.
-
synthesize
Synthesize the associated stack to the session.- Specified by:
synthesizein interfaceIStackSynthesizer- Parameters:
session- This parameter is required.
-
synthesizeStackTemplate
@Stability(Stable) protected void synthesizeStackTemplate(@NotNull Stack stack, @NotNull ISynthesisSession session) Have the stack write out its template.- Parameters:
stack- This parameter is required.session- This parameter is required.
-