@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.447Z") @Stability(value=Experimental) public class DefaultStackSynthesizer extends StackSynthesizer
This synthesizer is the only StackSynthesizer that generates
an asset manifest, and is required to deploy CDK applications using the
@aws-cdk/app-delivery CI/CD library.
Requires the environment to have been bootstrapped with Bootstrap Stack V2.
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultStackSynthesizer.Builder
(experimental) A fluent builder for
DefaultStackSynthesizer. |
software.amazon.jsii.JsiiObject.InitializationModeIStackSynthesizer.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_BOOTSTRAP_STACK_VERSION_SSM_PARAMETER
(experimental) Default bootstrap stack version SSM parameter.
|
static String |
DEFAULT_CLOUDFORMATION_ROLE_ARN
(experimental) Default CloudFormation role ARN.
|
static String |
DEFAULT_DEPLOY_ROLE_ARN
(experimental) Default deploy role ARN.
|
static String |
DEFAULT_FILE_ASSET_KEY_ARN_EXPORT_NAME
(experimental) Name of the CloudFormation Export with the asset key name.
|
static String |
DEFAULT_FILE_ASSET_PREFIX
(experimental) Default file asset prefix.
|
static String |
DEFAULT_FILE_ASSET_PUBLISHING_ROLE_ARN
(experimental) Default asset publishing role ARN for file (S3) assets.
|
static String |
DEFAULT_FILE_ASSETS_BUCKET_NAME
(experimental) Default file assets bucket name.
|
static String |
DEFAULT_IMAGE_ASSET_PUBLISHING_ROLE_ARN
(experimental) Default asset publishing role ARN for image (ECR) assets.
|
static String |
DEFAULT_IMAGE_ASSETS_REPOSITORY_NAME
(experimental) Default image assets repository name.
|
static String |
DEFAULT_LOOKUP_ROLE_ARN
(experimental) Default lookup role ARN for missing values.
|
static String |
DEFAULT_QUALIFIER
(experimental) Default ARN qualifier.
|
| Modifier | Constructor and Description |
|---|---|
|
DefaultStackSynthesizer() |
|
DefaultStackSynthesizer(DefaultStackSynthesizerProps props) |
protected |
DefaultStackSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DefaultStackSynthesizer(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.
|
String |
getCloudFormationExecutionRoleArn()
(experimental) Returns the ARN of the CFN execution Role.
|
String |
getDeployRoleArn()
(experimental) Returns the ARN of the deploy Role.
|
protected Stack |
getStack() |
void |
synthesize(ISynthesisSession session)
(experimental) Synthesize the associated stack to the session.
|
protected void |
synthesizeStackTemplate(Stack stack,
ISynthesisSession session)
(experimental) Have the stack write out its template.
|
emitStackArtifact, emitStackArtifactjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) public static final String DEFAULT_BOOTSTRAP_STACK_VERSION_SSM_PARAMETER
@Stability(value=Experimental) public static final String DEFAULT_CLOUDFORMATION_ROLE_ARN
@Stability(value=Experimental) public static final String DEFAULT_DEPLOY_ROLE_ARN
@Stability(value=Experimental) public static final String DEFAULT_FILE_ASSET_KEY_ARN_EXPORT_NAME
@Stability(value=Experimental) public static final String DEFAULT_FILE_ASSET_PREFIX
@Stability(value=Experimental) public static final String DEFAULT_FILE_ASSET_PUBLISHING_ROLE_ARN
@Stability(value=Experimental) public static final String DEFAULT_FILE_ASSETS_BUCKET_NAME
@Stability(value=Experimental) public static final String DEFAULT_IMAGE_ASSET_PUBLISHING_ROLE_ARN
@Stability(value=Experimental) public static final String DEFAULT_IMAGE_ASSETS_REPOSITORY_NAME
@Stability(value=Experimental) public static final String DEFAULT_LOOKUP_ROLE_ARN
@Stability(value=Experimental) public static final String DEFAULT_QUALIFIER
protected DefaultStackSynthesizer(software.amazon.jsii.JsiiObjectRef objRef)
protected DefaultStackSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public DefaultStackSynthesizer(@Nullable
DefaultStackSynthesizerProps props)
props - @Stability(value=Experimental) public DefaultStackSynthesizer()
@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.@Stability(value=Experimental)
protected void synthesizeStackTemplate(@NotNull
Stack stack,
@NotNull
ISynthesisSession session)
synthesizeStackTemplate in class StackSynthesizerstack - This parameter is required.session - This parameter is required.@Stability(value=Experimental) @NotNull public String getCloudFormationExecutionRoleArn()
@Stability(value=Experimental) @NotNull public String getDeployRoleArn()
@Stability(value=Experimental) @Nullable protected Stack getStack()
Copyright © 2021. All rights reserved.