Class AppStagingSynthesizer
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.StackSynthesizer
software.amazon.awscdk.app.staging.synthesizer.alpha.AppStagingSynthesizer
- All Implemented Interfaces:
IReusableStackSynthesizer,IStackSynthesizer,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:06.445Z")
@Stability(Experimental)
public class AppStagingSynthesizer
extends StackSynthesizer
implements IReusableStackSynthesizer
(experimental) App Staging Synthesizer.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.app.staging.synthesizer.alpha.*;
DeploymentIdentities deploymentIdentities;
IStagingResourcesFactory stagingResourcesFactory;
AppStagingSynthesizer appStagingSynthesizer = AppStagingSynthesizer.customFactory(CustomFactoryOptions.builder()
.factory(stagingResourcesFactory)
// the properties below are optional
.bootstrapQualifier("bootstrapQualifier")
.deploymentIdentities(deploymentIdentities)
.oncePerEnv(false)
.build());
-
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.IReusableStackSynthesizer
IReusableStackSynthesizer.Jsii$Default, IReusableStackSynthesizer.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IStackSynthesizer
IStackSynthesizer.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Default CloudFormation role ARN.static final String(experimental) Default deploy role ARN.static final String(experimental) Default lookup role ARN for missing values.static final String(experimental) Default ARN qualifier. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAppStagingSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedAppStagingSynthesizer(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Implemented for legacy purposes;addFileAsset(FileAssetSource _asset) (experimental) Implemented for legacy purposes;void(experimental) Implemented for legacy purposes;static AppStagingSynthesizercustomFactory(CustomFactoryOptions options) (experimental) Supply your own stagingStackFactory method for creating an IStagingStack when a stack is bound to the synthesizer.static AppStagingSynthesizercustomResources(CustomResourcesOptions options) (experimental) Use these exact staging resources for every stack that this synthesizer is used for.static AppStagingSynthesizerdefaultResources(DefaultResourcesOptions options) (experimental) Use the Default Staging Resources, creating a single stack per environment this app is deployed in.reusableBind(Stack stack) (experimental) Returns a version of the synthesizer bound to a stack.voidsynthesize(ISynthesisSession _session) (experimental) Implemented for legacy purposes;Methods inherited from class software.amazon.awscdk.StackSynthesizer
addBootstrapVersionRule, cloudFormationLocationFromDockerImageAsset, cloudFormationLocationFromFileAsset, emitArtifact, emitArtifact, emitStackArtifact, emitStackArtifact, getBootstrapQualifier, getBoundStack, getLookupRole, synthesizeStackTemplate, synthesizeTemplate, synthesizeTemplate, synthesizeTemplate, synthesizeTemplateMethods 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.awscdk.IStackSynthesizer
getBootstrapQualifier, getLookupRoleMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
DEFAULT_CLOUDFORMATION_ROLE_ARN
(experimental) Default CloudFormation role ARN. -
DEFAULT_DEPLOY_ROLE_ARN
(experimental) Default deploy role ARN. -
DEFAULT_LOOKUP_ROLE_ARN
(experimental) Default lookup role ARN for missing values. -
DEFAULT_QUALIFIER
(experimental) Default ARN qualifier.
-
-
Constructor Details
-
AppStagingSynthesizer
protected AppStagingSynthesizer(software.amazon.jsii.JsiiObjectRef objRef) -
AppStagingSynthesizer
protected AppStagingSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
customFactory
@Stability(Experimental) @NotNull public static AppStagingSynthesizer customFactory(@NotNull CustomFactoryOptions options) (experimental) Supply your own stagingStackFactory method for creating an IStagingStack when a stack is bound to the synthesizer.By default,
oncePerEnv = true, which means that a new instance of the IStagingStack will be created in new environments. SetoncePerEnv = falseto turn off that behavior.- Parameters:
options- This parameter is required.
-
customResources
@Stability(Experimental) @NotNull public static AppStagingSynthesizer customResources(@NotNull CustomResourcesOptions options) (experimental) Use these exact staging resources for every stack that this synthesizer is used for.- Parameters:
options- This parameter is required.
-
defaultResources
@Stability(Experimental) @NotNull public static AppStagingSynthesizer defaultResources(@NotNull DefaultResourcesOptions options) (experimental) Use the Default Staging Resources, creating a single stack per environment this app is deployed in.- Parameters:
options- This parameter is required.
-
addDockerImageAsset
@Stability(Experimental) @NotNull public DockerImageAssetLocation addDockerImageAsset(@NotNull DockerImageAssetSource _asset) (experimental) Implemented for legacy purposes;this will never be called.
- Specified by:
addDockerImageAssetin interfaceIStackSynthesizer- Specified by:
addDockerImageAssetin classStackSynthesizer- Parameters:
_asset- This parameter is required.
-
addFileAsset
@Stability(Experimental) @NotNull public FileAssetLocation addFileAsset(@NotNull FileAssetSource _asset) (experimental) Implemented for legacy purposes;this will never be called.
- Specified by:
addFileAssetin interfaceIStackSynthesizer- Specified by:
addFileAssetin classStackSynthesizer- Parameters:
_asset- This parameter is required.
-
bind
(experimental) Implemented for legacy purposes;this will never be called.
- Specified by:
bindin interfaceIStackSynthesizer- Overrides:
bindin classStackSynthesizer- Parameters:
_stack- This parameter is required.
-
reusableBind
(experimental) Returns a version of the synthesizer bound to a stack.- Specified by:
reusableBindin interfaceIReusableStackSynthesizer- Parameters:
stack- This parameter is required.
-
synthesize
(experimental) Implemented for legacy purposes;this will never be called.
- Specified by:
synthesizein interfaceIStackSynthesizer- Specified by:
synthesizein classStackSynthesizer- Parameters:
_session- This parameter is required.
-