Interface CfnAutoScalingInstanceRefresh

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

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:21.580Z") @Stability(Stable) public interface CfnAutoScalingInstanceRefresh extends software.amazon.jsii.JsiiSerializable
To specify how AWS CloudFormation handles instance refresh for an Auto Scaling group, use the AutoScalingInstanceRefresh update policy.

When properties that trigger an instance refresh change (such as LaunchTemplate or MixedInstancesPolicy), CloudFormation starts an instance refresh to replace instances gradually.

This policy is mutually exclusive with AutoScalingRollingUpdate.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 CfnAutoScalingInstanceRefresh cfnAutoScalingInstanceRefresh = CfnAutoScalingInstanceRefresh.builder()
         .strategy("strategy")
         // the properties below are optional
         .preferences(CfnAutoScalingInstanceRefreshPreferences.builder()
                 .alarmSpecification(CfnAutoScalingInstanceRefreshAlarmSpecification.builder()
                         .alarms(List.of("alarms"))
                         .build())
                 .bakeTime(123)
                 .checkpointDelay(123)
                 .checkpointPercentages(List.of(123))
                 .instanceWarmup(123)
                 .maxHealthyPercentage(123)
                 .minHealthyPercentage(123)
                 .scaleInProtectedInstances("scaleInProtectedInstances")
                 .skipMatching(false)
                 .standbyInstances("standbyInstances")
                 .build())
         .build();