@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:43.741Z") @Stability(value=Experimental) public class LegacyStackSynthesizer extends StackSynthesizer
This deployment environment is restricted in cross-environment deployments, CI/CD deployments, and will use up CloudFormation parameters in your template.
This is the only StackSynthesizer that supports customizing asset behavior
by overriding Stack.addFileAsset() and Stack.addDockerImageAsset().
software.amazon.jsii.JsiiObject.InitializationModeIStackSynthesizer.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
LegacyStackSynthesizer() |
protected |
LegacyStackSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LegacyStackSynthesizer(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
DockerImageAssetLocation |
addDockerImageAsset(DockerImageAssetSource asset)
(experimental) Register a Docker Image Asset.
|
FileAssetLocation |
addFileAsset(FileAssetSource asset)
(experimental) Register a File Asset.
|
void |
bind(Stack stack)
(experimental) Bind to the stack this environment is going to be used on.
|
void |
synthesize(ISynthesisSession session)
(experimental) Synthesize the associated stack to the session.
|
emitStackArtifact, emitStackArtifact, synthesizeStackTemplatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected LegacyStackSynthesizer(software.amazon.jsii.JsiiObjectRef objRef)
protected LegacyStackSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public LegacyStackSynthesizer()
@Stability(value=Experimental) @NotNull public DockerImageAssetLocation addDockerImageAsset(@NotNull DockerImageAssetSource asset)
Returns the parameters that can be used to refer to the asset inside the template.
addDockerImageAsset in interface IStackSynthesizeraddDockerImageAsset in class StackSynthesizerasset - This parameter is required.@Stability(value=Experimental) @NotNull public FileAssetLocation addFileAsset(@NotNull FileAssetSource asset)
Returns the parameters that can be used to refer to the asset inside the template.
addFileAsset in interface IStackSynthesizeraddFileAsset in class StackSynthesizerasset - This parameter is required.@Stability(value=Experimental)
public void bind(@NotNull
Stack stack)
Must be called before any of the other methods are called.
bind in interface IStackSynthesizerbind in class StackSynthesizerstack - This parameter is required.@Stability(value=Experimental)
public void synthesize(@NotNull
ISynthesisSession session)
synthesize in interface IStackSynthesizersynthesize in class StackSynthesizersession - This parameter is required.Copyright © 2021. All rights reserved.