Package software.amazon.awscdk.core
Class BootstraplessSynthesizer
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.StackSynthesizer
software.amazon.awscdk.core.DefaultStackSynthesizer
software.amazon.awscdk.core.BootstraplessSynthesizer
- All Implemented Interfaces:
IStackSynthesizer
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.795Z")
@Stability(Stable)
public class BootstraplessSynthesizer
extends DefaultStackSynthesizer
Synthesizer that reuses bootstrap roles from a different region.
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.core.*; BootstraplessSynthesizer bootstraplessSynthesizer = BootstraplessSynthesizer.Builder.create() .cloudFormationExecutionRoleArn("cloudFormationExecutionRoleArn") .deployRoleArn("deployRoleArn") .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forBootstraplessSynthesizer
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IStackSynthesizer
IStackSynthesizer.Jsii$Default
-
Field Summary
Fields inherited from class software.amazon.awscdk.core.DefaultStackSynthesizer
DEFAULT_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
-
Constructor Summary
ModifierConstructorDescriptionprotected
BootstraplessSynthesizer
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
BootstraplessSynthesizer
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionRegister a Docker Image Asset.addFileAsset
(FileAssetSource _asset) Register a File Asset.void
synthesize
(ISynthesisSession session) Synthesize the associated stack to the session.Methods inherited from class software.amazon.awscdk.core.DefaultStackSynthesizer
bind, getCloudFormationExecutionRoleArn, getDeployRoleArn, getStack, synthesizeStackTemplate
Methods inherited from class software.amazon.awscdk.core.StackSynthesizer
emitStackArtifact, emitStackArtifact
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
BootstraplessSynthesizer
protected BootstraplessSynthesizer(software.amazon.jsii.JsiiObjectRef objRef) -
BootstraplessSynthesizer
protected BootstraplessSynthesizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
BootstraplessSynthesizer
- Parameters:
props
- This parameter is required.
-
-
Method Details
-
addDockerImageAsset
@Stability(Stable) @NotNull public DockerImageAssetLocation addDockerImageAsset(@NotNull DockerImageAssetSource _asset) Register a Docker Image Asset.Returns the parameters that can be used to refer to the asset inside the template.
- Specified by:
addDockerImageAsset
in interfaceIStackSynthesizer
- Overrides:
addDockerImageAsset
in classDefaultStackSynthesizer
- Parameters:
_asset
- This parameter is required.
-
addFileAsset
Register a File Asset.Returns the parameters that can be used to refer to the asset inside the template.
- Specified by:
addFileAsset
in interfaceIStackSynthesizer
- Overrides:
addFileAsset
in classDefaultStackSynthesizer
- Parameters:
_asset
- This parameter is required.
-
synthesize
Synthesize the associated stack to the session.- Specified by:
synthesize
in interfaceIStackSynthesizer
- Overrides:
synthesize
in classDefaultStackSynthesizer
- Parameters:
session
- This parameter is required.
-