@Generated(value="jsii-pacmak/1.12.0 (build 5ddc9f2)", date="2020-09-22T23:51:18.639Z") @Stability(value=Stable) 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
A fluent builder for
DefaultStackSynthesizer. |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CLOUDFORMATION_ROLE_ARN
Default CloudFormation role ARN.
|
static String |
DEFAULT_DEPLOY_ROLE_ARN
Default deploy role ARN.
|
static String |
DEFAULT_FILE_ASSET_KEY_ARN_EXPORT_NAME
Name of the CloudFormation Export with the asset key name.
|
static String |
DEFAULT_FILE_ASSET_PUBLISHING_ROLE_ARN
Default asset publishing role ARN for file (S3) assets.
|
static String |
DEFAULT_FILE_ASSETS_BUCKET_NAME
Default file assets bucket name.
|
static String |
DEFAULT_IMAGE_ASSET_PUBLISHING_ROLE_ARN
Default asset publishing role ARN for image (ECR) assets.
|
static String |
DEFAULT_IMAGE_ASSETS_REPOSITORY_NAME
Default image assets repository name.
|
static String |
DEFAULT_QUALIFIER
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)
Register a Docker Image Asset.
|
FileAssetLocation |
addFileAsset(FileAssetSource asset)
Register a File Asset.
|
void |
bind(Stack stack)
Bind to the stack this environment is going to be used on.
|
String |
getCloudFormationExecutionRoleArn()
Returns the ARN of the CFN execution Role.
|
String |
getDeployRoleArn()
Returns the ARN of the deploy Role.
|
protected Stack |
getStack() |
void |
synthesize(ISynthesisSession session)
Synthesize the associated stack to the session.
|
emitStackArtifact, emitStackArtifact, synthesizeStackTemplatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet@Stability(value=Stable) public static final String DEFAULT_CLOUDFORMATION_ROLE_ARN
@Stability(value=Stable) public static final String DEFAULT_DEPLOY_ROLE_ARN
@Stability(value=Stable) public static final String DEFAULT_FILE_ASSET_KEY_ARN_EXPORT_NAME
@Stability(value=Stable) public static final String DEFAULT_FILE_ASSET_PUBLISHING_ROLE_ARN
@Stability(value=Stable) public static final String DEFAULT_FILE_ASSETS_BUCKET_NAME
@Stability(value=Stable) public static final String DEFAULT_IMAGE_ASSET_PUBLISHING_ROLE_ARN
@Stability(value=Stable) public static final String DEFAULT_IMAGE_ASSETS_REPOSITORY_NAME
@Stability(value=Stable) public static final String DEFAULT_QUALIFIER
protected DefaultStackSynthesizer(software.amazon.jsii.JsiiObjectRef objRef)
protected DefaultStackSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public DefaultStackSynthesizer(@Nullable
DefaultStackSynthesizerProps props)
props - @Stability(value=Stable) public DefaultStackSynthesizer()
@Stability(value=Stable) @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=Stable) @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=Stable)
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=Stable)
public void synthesize(@NotNull
ISynthesisSession session)
synthesize in interface IStackSynthesizersynthesize in class StackSynthesizersession - This parameter is required.@Stability(value=Stable) @NotNull public String getCloudFormationExecutionRoleArn()
@Stability(value=Stable) @NotNull public String getDeployRoleArn()
@Stability(value=Stable) @Nullable protected Stack getStack()
Copyright © 2020. All rights reserved.