@Stability(value=Stable) public static final class DefaultStackSynthesizer.Builder extends Object implements software.amazon.jsii.Builder<DefaultStackSynthesizer>
DefaultStackSynthesizer.| Modifier and Type | Method and Description |
|---|---|
DefaultStackSynthesizer.Builder |
bootstrapStackVersionSsmParameter(String bootstrapStackVersionSsmParameter)
Bootstrap stack version SSM parameter.
|
DefaultStackSynthesizer.Builder |
bucketPrefix(String bucketPrefix)
bucketPrefix to use while storing S3 Assets.
|
DefaultStackSynthesizer |
build() |
DefaultStackSynthesizer.Builder |
cloudFormationExecutionRole(String cloudFormationExecutionRole)
The role CloudFormation will assume when deploying the Stack.
|
static DefaultStackSynthesizer.Builder |
create() |
DefaultStackSynthesizer.Builder |
deployRoleArn(String deployRoleArn)
The role to assume to initiate a deployment in this environment.
|
DefaultStackSynthesizer.Builder |
deployRoleExternalId(String deployRoleExternalId)
External ID to use when assuming role for cloudformation deployments.
|
DefaultStackSynthesizer.Builder |
dockerTagPrefix(String dockerTagPrefix)
A prefix to use while tagging and uploading Docker images to ECR.
|
DefaultStackSynthesizer.Builder |
fileAssetPublishingExternalId(String fileAssetPublishingExternalId)
External ID to use when assuming role for file asset publishing.
|
DefaultStackSynthesizer.Builder |
fileAssetPublishingRoleArn(String fileAssetPublishingRoleArn)
The role to use to publish file assets to the S3 bucket in this environment.
|
DefaultStackSynthesizer.Builder |
fileAssetsBucketName(String fileAssetsBucketName)
Name of the S3 bucket to hold file assets.
|
DefaultStackSynthesizer.Builder |
generateBootstrapVersionRule(Boolean generateBootstrapVersionRule)
Whether to add a Rule to the stack template verifying the bootstrap stack version.
|
DefaultStackSynthesizer.Builder |
imageAssetPublishingExternalId(String imageAssetPublishingExternalId)
External ID to use when assuming role for image asset publishing.
|
DefaultStackSynthesizer.Builder |
imageAssetPublishingRoleArn(String imageAssetPublishingRoleArn)
The role to use to publish image assets to the ECR repository in this environment.
|
DefaultStackSynthesizer.Builder |
imageAssetsRepositoryName(String imageAssetsRepositoryName)
Name of the ECR repository to hold Docker Image assets.
|
DefaultStackSynthesizer.Builder |
lookupRoleArn(String lookupRoleArn)
The role to use to look up values from the target AWS account during synthesis.
|
DefaultStackSynthesizer.Builder |
lookupRoleExternalId(String lookupRoleExternalId)
External ID to use when assuming lookup role.
|
DefaultStackSynthesizer.Builder |
qualifier(String qualifier)
Qualifier to disambiguate multiple environments in the same account.
|
DefaultStackSynthesizer.Builder |
useLookupRoleForStackOperations(Boolean useLookupRoleForStackOperations)
Use the bootstrapped lookup role for (read-only) stack operations.
|
@Stability(value=Stable) public static DefaultStackSynthesizer.Builder create()
DefaultStackSynthesizer.Builder.@Stability(value=Stable) public DefaultStackSynthesizer.Builder bootstrapStackVersionSsmParameter(String bootstrapStackVersionSsmParameter)
The placeholder ${Qualifier} will be replaced with the value of qualifier.
Default: DefaultStackSynthesizer.DEFAULT_BOOTSTRAP_STACK_VERSION_SSM_PARAMETER
bootstrapStackVersionSsmParameter - Bootstrap stack version SSM parameter. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder bucketPrefix(String bucketPrefix)
Default: - DefaultStackSynthesizer.DEFAULT_FILE_ASSET_PREFIX
bucketPrefix - bucketPrefix to use while storing S3 Assets. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder cloudFormationExecutionRole(String cloudFormationExecutionRole)
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
cloudFormationExecutionRole - The role CloudFormation will assume when deploying the Stack. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder deployRoleArn(String deployRoleArn)
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
deployRoleArn - The role to assume to initiate a deployment in this environment. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder deployRoleExternalId(String deployRoleExternalId)
Default: - No external ID
deployRoleExternalId - External ID to use when assuming role for cloudformation deployments. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder dockerTagPrefix(String dockerTagPrefix)
This does not add any separators - the source hash will be appended to this string directly.
Default: - DefaultStackSynthesizer.DEFAULT_DOCKER_ASSET_PREFIX
dockerTagPrefix - A prefix to use while tagging and uploading Docker images to ECR. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder fileAssetPublishingExternalId(String fileAssetPublishingExternalId)
Default: - No external ID
fileAssetPublishingExternalId - External ID to use when assuming role for file asset publishing. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder fileAssetPublishingRoleArn(String fileAssetPublishingRoleArn)
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
fileAssetPublishingRoleArn - The role to use to publish file assets to the S3 bucket in this environment. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder fileAssetsBucketName(String fileAssetsBucketName)
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
fileAssetsBucketName - Name of the S3 bucket to hold file assets. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder generateBootstrapVersionRule(Boolean generateBootstrapVersionRule)
This generally should be left set to true, unless you explicitly
want to be able to deploy to an unbootstrapped environment.
Default: true
generateBootstrapVersionRule - Whether to add a Rule to the stack template verifying the bootstrap stack version. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder imageAssetPublishingExternalId(String imageAssetPublishingExternalId)
Default: - No external ID
imageAssetPublishingExternalId - External ID to use when assuming role for image asset publishing. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder imageAssetPublishingRoleArn(String imageAssetPublishingRoleArn)
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
imageAssetPublishingRoleArn - The role to use to publish image assets to the ECR repository in this environment. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder imageAssetsRepositoryName(String imageAssetsRepositoryName)
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
imageAssetsRepositoryName - Name of the ECR repository to hold Docker Image assets. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder lookupRoleArn(String lookupRoleArn)
Default: - None
lookupRoleArn - The role to use to look up values from the target AWS account during synthesis. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder lookupRoleExternalId(String lookupRoleExternalId)
Default: - No external ID
lookupRoleExternalId - External ID to use when assuming lookup role. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder qualifier(String qualifier)
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 '
qualifier - Qualifier to disambiguate multiple environments in the same account. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer.Builder useLookupRoleForStackOperations(Boolean useLookupRoleForStackOperations)
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
useLookupRoleForStackOperations - Use the bootstrapped lookup role for (read-only) stack operations. This parameter is required.this@Stability(value=Stable) public DefaultStackSynthesizer build()
build in interface software.amazon.jsii.Builder<DefaultStackSynthesizer>Copyright © 2022. All rights reserved.