@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.887Z") @Stability(value=Stable) public interface DefaultStackSynthesizerProps extends software.amazon.jsii.JsiiSerializable
Example:
// Example automatically generated from non-compiling source. May contain errors.
MyStack.Builder.create(app, "MyStack")
.synthesizer(DefaultStackSynthesizer.Builder.create()
.fileAssetsBucketName("my-orgs-asset-bucket")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DefaultStackSynthesizerProps.Builder
A builder for
DefaultStackSynthesizerProps |
static class |
DefaultStackSynthesizerProps.Jsii$Proxy
An implementation for
DefaultStackSynthesizerProps |
| Modifier and Type | Method and Description |
|---|---|
static DefaultStackSynthesizerProps.Builder |
builder() |
default String |
getBootstrapStackVersionSsmParameter()
Bootstrap stack version SSM parameter.
|
default String |
getBucketPrefix()
bucketPrefix to use while storing S3 Assets.
|
default String |
getCloudFormationExecutionRole()
The role CloudFormation will assume when deploying the Stack.
|
default String |
getDeployRoleArn()
The role to assume to initiate a deployment in this environment.
|
default String |
getDeployRoleExternalId()
External ID to use when assuming role for cloudformation deployments.
|
default String |
getDockerTagPrefix()
A prefix to use while tagging and uploading Docker images to ECR.
|
default String |
getFileAssetPublishingExternalId()
External ID to use when assuming role for file asset publishing.
|
default String |
getFileAssetPublishingRoleArn()
The role to use to publish file assets to the S3 bucket in this environment.
|
default String |
getFileAssetsBucketName()
Name of the S3 bucket to hold file assets.
|
default Boolean |
getGenerateBootstrapVersionRule()
Whether to add a Rule to the stack template verifying the bootstrap stack version.
|
default String |
getImageAssetPublishingExternalId()
External ID to use when assuming role for image asset publishing.
|
default String |
getImageAssetPublishingRoleArn()
The role to use to publish image assets to the ECR repository in this environment.
|
default String |
getImageAssetsRepositoryName()
Name of the ECR repository to hold Docker Image assets.
|
default String |
getLookupRoleArn()
The role to use to look up values from the target AWS account during synthesis.
|
default String |
getLookupRoleExternalId()
External ID to use when assuming lookup role.
|
default String |
getQualifier()
Qualifier to disambiguate multiple environments in the same account.
|
default Boolean |
getUseLookupRoleForStackOperations()
Use the bootstrapped lookup role for (read-only) stack operations.
|
@Stability(value=Stable) @Nullable default String getBootstrapStackVersionSsmParameter()
The placeholder ${Qualifier} will be replaced with the value of qualifier.
Default: DefaultStackSynthesizer.DEFAULT_BOOTSTRAP_STACK_VERSION_SSM_PARAMETER
@Stability(value=Stable) @Nullable default String getBucketPrefix()
Default: - DefaultStackSynthesizer.DEFAULT_FILE_ASSET_PREFIX
@Stability(value=Stable) @Nullable default String getCloudFormationExecutionRole()
You must supply this if you have given a non-standard name to the execution role.
The placeholders ${Qualifier}, ${AWS::AccountId} and ${AWS::Region} will
be replaced with the values of qualifier and the stack's account and region,
respectively.
Default: DefaultStackSynthesizer.DEFAULT_CLOUDFORMATION_ROLE_ARN
@Stability(value=Stable) @Nullable default String getDeployRoleArn()
You must supply this if you have given a non-standard name to the publishing role.
The placeholders ${Qualifier}, ${AWS::AccountId} and ${AWS::Region} will
be replaced with the values of qualifier and the stack's account and region,
respectively.
Default: DefaultStackSynthesizer.DEFAULT_DEPLOY_ROLE_ARN
@Stability(value=Stable) @Nullable default String getDeployRoleExternalId()
Default: - No external ID
@Stability(value=Stable) @Nullable default String getDockerTagPrefix()
This does not add any separators - the source hash will be appended to this string directly.
Default: - DefaultStackSynthesizer.DEFAULT_DOCKER_ASSET_PREFIX
@Stability(value=Stable) @Nullable default String getFileAssetPublishingExternalId()
Default: - No external ID
@Stability(value=Stable) @Nullable default String getFileAssetPublishingRoleArn()
You must supply this if you have given a non-standard name to the publishing role.
The placeholders ${Qualifier}, ${AWS::AccountId} and ${AWS::Region} will
be replaced with the values of qualifier and the stack's account and region,
respectively.
Default: DefaultStackSynthesizer.DEFAULT_FILE_ASSET_PUBLISHING_ROLE_ARN
@Stability(value=Stable) @Nullable default String getFileAssetsBucketName()
You must supply this if you have given a non-standard name to the staging bucket.
The placeholders ${Qualifier}, ${AWS::AccountId} and ${AWS::Region} will
be replaced with the values of qualifier and the stack's account and region,
respectively.
Default: DefaultStackSynthesizer.DEFAULT_FILE_ASSETS_BUCKET_NAME
@Stability(value=Stable) @Nullable default Boolean getGenerateBootstrapVersionRule()
This generally should be left set to true, unless you explicitly
want to be able to deploy to an unbootstrapped environment.
Default: true
@Stability(value=Stable) @Nullable default String getImageAssetPublishingExternalId()
Default: - No external ID
@Stability(value=Stable) @Nullable default String getImageAssetPublishingRoleArn()
You must supply this if you have given a non-standard name to the publishing role.
The placeholders ${Qualifier}, ${AWS::AccountId} and ${AWS::Region} will
be replaced with the values of qualifier and the stack's account and region,
respectively.
Default: DefaultStackSynthesizer.DEFAULT_IMAGE_ASSET_PUBLISHING_ROLE_ARN
@Stability(value=Stable) @Nullable default String getImageAssetsRepositoryName()
You must supply this if you have given a non-standard name to the ECR repository.
The placeholders ${Qualifier}, ${AWS::AccountId} and ${AWS::Region} will
be replaced with the values of qualifier and the stack's account and region,
respectively.
Default: DefaultStackSynthesizer.DEFAULT_IMAGE_ASSETS_REPOSITORY_NAME
@Stability(value=Stable) @Nullable default String getLookupRoleArn()
Default: - None
@Stability(value=Stable) @Nullable default String getLookupRoleExternalId()
Default: - No external ID
@Stability(value=Stable) @Nullable default String getQualifier()
You can use this and leave the other naming properties empty if you have deployed the bootstrap environment with standard names but only differnet qualifiers.
Default: - Value of context key '
@Stability(value=Stable) @Nullable default Boolean getUseLookupRoleForStackOperations()
Use the lookup role when performing a cdk diff. If set to false, the
deploy role credentials will be used to perform a cdk diff.
Requires bootstrap stack version 8.
Default: true
@Stability(value=Stable) static DefaultStackSynthesizerProps.Builder builder()
Copyright © 2022. All rights reserved.