Interface CfnResourceAutoScalingCreationPolicy

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnResourceAutoScalingCreationPolicy.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.905Z") @Stability(Stable) public interface CfnResourceAutoScalingCreationPolicy extends software.amazon.jsii.JsiiSerializable
For an Auto Scaling group replacement update, specifies how many instances must signal success for the update to succeed.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.core.*;
 CfnResourceAutoScalingCreationPolicy cfnResourceAutoScalingCreationPolicy = CfnResourceAutoScalingCreationPolicy.builder()
         .minSuccessfulInstancesPercent(123)
         .build();
 
  • Method Details

    • getMinSuccessfulInstancesPercent

      @Stability(Stable) @Nullable default Number getMinSuccessfulInstancesPercent()
      Specifies the percentage of instances in an Auto Scaling replacement update that must signal success for the update to succeed.

      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.

    • builder

      @Stability(Stable) static CfnResourceAutoScalingCreationPolicy.Builder builder()
      Returns:
      a CfnResourceAutoScalingCreationPolicy.Builder of CfnResourceAutoScalingCreationPolicy