@Stability(value=Experimental) 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)
(experimental) Bootstrap stack version SSM parameter.
|
DefaultStackSynthesizer.Builder |
bucketPrefix(String bucketPrefix)
(experimental) bucketPrefix to use while storing S3 Assets.
|
DefaultStackSynthesizer |
build() |
DefaultStackSynthesizer.Builder |
cloudFormationExecutionRole(String cloudFormationExecutionRole)
(experimental) The role CloudFormation will assume when deploying the Stack.
|
static DefaultStackSynthesizer.Builder |
create() |
DefaultStackSynthesizer.Builder |
deployRoleArn(String deployRoleArn)
(experimental) The role to assume to initiate a deployment in this environment.
|
DefaultStackSynthesizer.Builder |
fileAssetPublishingExternalId(String fileAssetPublishingExternalId)
(experimental) External ID to use when assuming role for file asset publishing.
|
DefaultStackSynthesizer.Builder |
fileAssetPublishingRoleArn(String fileAssetPublishingRoleArn)
(experimental) The role to use to publish file assets to the S3 bucket in this environment.
|
DefaultStackSynthesizer.Builder |
fileAssetsBucketName(String fileAssetsBucketName)
(experimental) Name of the S3 bucket to hold file assets.
|
DefaultStackSynthesizer.Builder |
generateBootstrapVersionRule(Boolean generateBootstrapVersionRule)
(experimental) Whether to add a Rule to the stack template verifying the bootstrap stack version.
|
DefaultStackSynthesizer.Builder |
imageAssetPublishingExternalId(String imageAssetPublishingExternalId)
(experimental) External ID to use when assuming role for image asset publishing.
|
DefaultStackSynthesizer.Builder |
imageAssetPublishingRoleArn(String imageAssetPublishingRoleArn)
(experimental) The role to use to publish image assets to the ECR repository in this environment.
|
DefaultStackSynthesizer.Builder |
imageAssetsRepositoryName(String imageAssetsRepositoryName)
(experimental) Name of the ECR repository to hold Docker Image assets.
|
DefaultStackSynthesizer.Builder |
lookupRoleArn(String lookupRoleArn)
(experimental) The role to use to look up values from the target AWS account during synthesis.
|
DefaultStackSynthesizer.Builder |
qualifier(String qualifier)
(experimental) Qualifier to disambiguate multiple environments in the same account.
|
@Stability(value=Experimental) public static DefaultStackSynthesizer.Builder create()
DefaultStackSynthesizer.Builder.@Stability(value=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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=Experimental) public DefaultStackSynthesizer build()
build in interface software.amazon.jsii.Builder<DefaultStackSynthesizer>Copyright © 2021. All rights reserved.