Class CommonCloudFormationStackSetOptions.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.CommonCloudFormationStackSetOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CommonCloudFormationStackSetOptions>
- Enclosing interface:
- CommonCloudFormationStackSetOptions
@Stability(Stable)
public static final class CommonCloudFormationStackSetOptions.Builder
extends Object
implements software.amazon.jsii.Builder<CommonCloudFormationStackSetOptions>
A builder for
CommonCloudFormationStackSetOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.failureTolerancePercentage
(Number failureTolerancePercentage) Sets the value ofCommonCloudFormationStackSetOptions.getFailureTolerancePercentage()
maxAccountConcurrencyPercentage
(Number maxAccountConcurrencyPercentage) Sets the value ofCommonCloudFormationStackSetOptions.getMaxAccountConcurrencyPercentage()
stackSetRegion
(String stackSetRegion) Sets the value ofCommonCloudFormationStackSetOptions.getStackSetRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
failureTolerancePercentage
@Stability(Stable) public CommonCloudFormationStackSetOptions.Builder failureTolerancePercentage(Number failureTolerancePercentage) Sets the value ofCommonCloudFormationStackSetOptions.getFailureTolerancePercentage()
- Parameters:
failureTolerancePercentage
- The percentage of accounts per Region for which this stack operation can fail before AWS CloudFormation stops the operation in that Region. If the operation is stopped in a Region, AWS CloudFormation doesn't attempt the operation in subsequent Regions. When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number.- Returns:
this
-
maxAccountConcurrencyPercentage
@Stability(Stable) public CommonCloudFormationStackSetOptions.Builder maxAccountConcurrencyPercentage(Number maxAccountConcurrencyPercentage) Sets the value ofCommonCloudFormationStackSetOptions.getMaxAccountConcurrencyPercentage()
- Parameters:
maxAccountConcurrencyPercentage
- The maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number. If rounding down would result in zero, AWS CloudFormation sets the number as one instead. Although you use this setting to specify the maximum, for large deployments the actual number of accounts acted upon concurrently may be lower due to service throttling.- Returns:
this
-
stackSetRegion
@Stability(Stable) public CommonCloudFormationStackSetOptions.Builder stackSetRegion(String stackSetRegion) Sets the value ofCommonCloudFormationStackSetOptions.getStackSetRegion()
- Parameters:
stackSetRegion
- The AWS Region the StackSet is in. Note that a cross-region Pipeline requires replication buckets to function correctly. You can provide their names with thePipelineProps.crossRegionReplicationBuckets
property. If you don't, the CodePipeline Construct will create new Stacks in your CDK app containing those buckets, that you will need tocdk deploy
before deploying the main, Pipeline-containing Stack.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CommonCloudFormationStackSetOptions>
- Returns:
- a new instance of
CommonCloudFormationStackSetOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-