io.github.cdklabs.cdk.stacksets.StackSetStackSynthesizer Maven / Gradle / Ivy
package io.github.cdklabs.cdk.stacksets;
/**
* (experimental) Deployment environment for an AWS StackSet stack.
*
* Interoperates with the StackSynthesizer of the parent stack.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.83.0 (build fd4544d)", date = "2023-06-13T00:17:42.439Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.stacksets.$Module.class, fqn = "cdk-stacksets.StackSetStackSynthesizer")
public class StackSetStackSynthesizer extends software.amazon.awscdk.StackSynthesizer {
protected StackSetStackSynthesizer(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected StackSetStackSynthesizer(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param assetBucket
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public StackSetStackSynthesizer(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.s3.IBucket assetBucket) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { assetBucket });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public StackSetStackSynthesizer() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (experimental) Register a Docker Image Asset
Returns the parameters that can be used to refer to the asset inside the template.
*
* The synthesizer must rely on some out-of-band mechanism to make sure the given files
* are actually placed in the returned location before the deployment happens. This can
* be by writing the instructions to the asset manifest (for use by the cdk-assets
tool),
* by relying on the CLI to upload files (legacy behavior), or some other operator controlled
* mechanism.
*
* @param _asset This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.DockerImageAssetLocation addDockerImageAsset(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.DockerImageAssetSource _asset) {
return software.amazon.jsii.Kernel.call(this, "addDockerImageAsset", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.DockerImageAssetLocation.class), new Object[] { java.util.Objects.requireNonNull(_asset, "_asset is required") });
}
/**
* (experimental) Register a File Asset
Returns the parameters that can be used to refer to the asset inside the template.
*
* The synthesizer must rely on some out-of-band mechanism to make sure the given files
* are actually placed in the returned location before the deployment happens. This can
* be by writing the instructions to the asset manifest (for use by the cdk-assets
tool),
* by relying on the CLI to upload files (legacy behavior), or some other operator controlled
* mechanism.
*
* @param asset This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.FileAssetLocation addFileAsset(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.FileAssetSource asset) {
return software.amazon.jsii.Kernel.call(this, "addFileAsset", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.FileAssetLocation.class), new Object[] { java.util.Objects.requireNonNull(asset, "asset is required") });
}
/**
* (experimental) Synthesize the associated stack to the session.
*
* @param session This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public void synthesize(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.ISynthesisSession session) {
software.amazon.jsii.Kernel.call(this, "synthesize", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(session, "session is required") });
}
}