Class CommonCloudFormationStackSetOptions
Options in common between both StackSet actions.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodePipeline.Actions
Assembly: Amazon.CDK.AWS.CodePipeline.Actions.dll
Syntax (csharp)
public class CommonCloudFormationStackSetOptions : Object, ICommonCloudFormationStackSetOptions
Syntax (vb)
Public Class CommonCloudFormationStackSetOptions
Inherits Object
Implements ICommonCloudFormationStackSetOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Synopsis
Constructors
CommonCloudFormationStackSetOptions() |
Properties
FailureTolerancePercentage | The percentage of accounts per Region for which this stack operation can fail before AWS CloudFormation stops the operation in that Region. |
MaxAccountConcurrencyPercentage | The maximum percentage of accounts in which to perform this operation at one time. |
StackSetRegion | The AWS Region the StackSet is in. |
Constructors
CommonCloudFormationStackSetOptions()
public CommonCloudFormationStackSetOptions()
Properties
FailureTolerancePercentage
The percentage of accounts per Region for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
public Nullable<double> FailureTolerancePercentage { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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.
Default: 0%
MaxAccountConcurrencyPercentage
The maximum percentage of accounts in which to perform this operation at one time.
public Nullable<double> MaxAccountConcurrencyPercentage { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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.
Default: 1%
StackSetRegion
The AWS Region the StackSet is in.
public string StackSetRegion { get; set; }
Property Value
System.String
Remarks
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.
Default: - same region as the Pipeline