@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.794Z") @Stability(value=Stable) public class BootstraplessSynthesizer extends DefaultStackSynthesizer
A special synthesizer that behaves similarly to DefaultStackSynthesizer,
but doesn't require bootstrapping the environment it operates in. Instead,
it will re-use the Roles that were created for a different region (which
is possible because IAM is a global service).
However, it will not assume asset buckets or repositories have been created, and therefore does not support assets.
Used by the CodePipeline construct for the support stacks needed for cross-region replication S3 buckets. App builders do not need to use this synthesizer directly.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
BootstraplessSynthesizer bootstraplessSynthesizer = BootstraplessSynthesizer.Builder.create()
.cloudFormationExecutionRoleArn("cloudFormationExecutionRoleArn")
.deployRoleArn("deployRoleArn")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
BootstraplessSynthesizer.Builder
A fluent builder for
BootstraplessSynthesizer. |
software.amazon.jsii.JsiiObject.InitializationModeIStackSynthesizer.Jsii$DefaultDEFAULT_BOOTSTRAP_STACK_VERSION_SSM_PARAMETER, DEFAULT_CLOUDFORMATION_ROLE_ARN, DEFAULT_DEPLOY_ROLE_ARN, DEFAULT_DOCKER_ASSET_PREFIX, DEFAULT_FILE_ASSET_KEY_ARN_EXPORT_NAME, DEFAULT_FILE_ASSET_PREFIX, DEFAULT_FILE_ASSET_PUBLISHING_ROLE_ARN, DEFAULT_FILE_ASSETS_BUCKET_NAME, DEFAULT_IMAGE_ASSET_PUBLISHING_ROLE_ARN, DEFAULT_IMAGE_ASSETS_REPOSITORY_NAME, DEFAULT_LOOKUP_ROLE_ARN, DEFAULT_QUALIFIER| Modifier | Constructor and Description |
|---|---|
|
BootstraplessSynthesizer(BootstraplessSynthesizerProps props) |
protected |
BootstraplessSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BootstraplessSynthesizer(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 |
synthesize(ISynthesisSession session)
Synthesize the associated stack to the session.
|
bind, getCloudFormationExecutionRoleArn, getDeployRoleArn, getStack, synthesizeStackTemplateemitStackArtifact, emitStackArtifactjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected BootstraplessSynthesizer(software.amazon.jsii.JsiiObjectRef objRef)
protected BootstraplessSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public BootstraplessSynthesizer(@NotNull
BootstraplessSynthesizerProps props)
props - This parameter is required.@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 DefaultStackSynthesizer_asset - 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 DefaultStackSynthesizer_asset - This parameter is required.@Stability(value=Stable)
public void synthesize(@NotNull
ISynthesisSession session)
synthesize in interface IStackSynthesizersynthesize in class DefaultStackSynthesizersession - This parameter is required.Copyright © 2022. All rights reserved.