CommonCloudFormationStackSetOptions Struct
Options in common between both StackSet actions.
| Source | aws-codepipeline-actions/lib/cloudformation/stackset-types.ts |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline_actions as codepipeline_actions } from 'aws-cdk-lib';
const commonCloudFormationStackSetOptions: codepipeline_actions.CommonCloudFormationStackSetOptions = {
failureTolerancePercentage: 123,
maxAccountConcurrencyPercentage: 123,
stackSetRegion: 'stackSetRegion',
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codepipeline_actions as codepipeline_actions
common_cloud_formation_stack_set_options = codepipeline_actions.CommonCloudFormationStackSetOptions(
failure_tolerance_percentage=123,
max_account_concurrency_percentage=123,
stack_set_region="stackSetRegion"
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.actions.*;
CommonCloudFormationStackSetOptions commonCloudFormationStackSetOptions = CommonCloudFormationStackSetOptions.builder()
.failureTolerancePercentage(123)
.maxAccountConcurrencyPercentage(123)
.stackSetRegion("stackSetRegion")
.build();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline.Actions;
var commonCloudFormationStackSetOptions = new CommonCloudFormationStackSetOptions {
FailureTolerancePercentage = 123,
MaxAccountConcurrencyPercentage = 123,
StackSetRegion = "stackSetRegion"
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
commonCloudFormationStackSetOptions := &CommonCloudFormationStackSetOptions{
FailureTolerancePercentage: jsii.Number(123),
MaxAccountConcurrencyPercentage: jsii.Number(123),
StackSetRegion: jsii.String("stackSetRegion"),
}
Properties
failureTolerancePercentageoptionalnumberfailure_tolerance_percentageoptionalint | floatfailureTolerancePercentageoptionalNumberFailureTolerancePercentageoptionaldoubleFailureTolerancePercentageoptional*float64 = 0% #notes
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.
maxAccountConcurrencyPercentageoptionalnumbermax_account_concurrency_percentageoptionalint | floatmaxAccountConcurrencyPercentageoptionalNumberMaxAccountConcurrencyPercentageoptionaldoubleMaxAccountConcurrencyPercentageoptional*float64 = 1% #notes
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.
stackSetRegionoptionalstringstack_set_regionoptionalstrstackSetRegionoptionalStringStackSetRegionoptionalstringStackSetRegionoptional*string #Default: same region as the Pipeline
notes
Note that a cross-region Pipeline requires replication buckets to function correctly. You can provide their names with the PipelineProps.crossRegionReplicationBuckets property. If you don't, the CodePipeline Construct will create new Stacks in your CDK app containing those buckets, that you will need to cdk deploy before deploying the main, Pipeline-containing Stack.