Class CfnResourceAutoScalingCreationPolicy
For an Auto Scaling group replacement update, specifies how many instances must signal success for the update to succeed.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResourceAutoScalingCreationPolicy : ICfnResourceAutoScalingCreationPolicy
Syntax (vb)
Public Class CfnResourceAutoScalingCreationPolicy Implements ICfnResourceAutoScalingCreationPolicy
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;
var cfnResourceAutoScalingCreationPolicy = new CfnResourceAutoScalingCreationPolicy {
MinSuccessfulInstancesPercent = 123
};
Synopsis
Constructors
CfnResourceAutoScalingCreationPolicy() | For an Auto Scaling group replacement update, specifies how many instances must signal success for the update to succeed. |
Properties
MinSuccessfulInstancesPercent | Specifies the percentage of instances in an Auto Scaling replacement update that must signal success for the update to succeed. |
Constructors
CfnResourceAutoScalingCreationPolicy()
For an Auto Scaling group replacement update, specifies how many instances must signal success for the update to succeed.
public CfnResourceAutoScalingCreationPolicy()
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;
var cfnResourceAutoScalingCreationPolicy = new CfnResourceAutoScalingCreationPolicy {
MinSuccessfulInstancesPercent = 123
};
Properties
MinSuccessfulInstancesPercent
Specifies the percentage of instances in an Auto Scaling replacement update that must signal success for the update to succeed.
public double? MinSuccessfulInstancesPercent { get; set; }
Property Value
Remarks
You can specify a value from 0 to 100. AWS CloudFormation rounds to the nearest tenth of a percent. For example, if you update five instances with a minimum successful percentage of 50, three instances must signal success. If an instance doesn't send a signal within the time specified by the Timeout property, AWS CloudFormation assumes that the instance wasn't created.