GroupInstanceRefreshPreferences constructor
- Input<
GroupInstanceRefreshPreferencesAlarmSpecification?> ? alarmSpecification, - Input<
bool?> ? autoRollback, - Input<
String?> ? checkpointDelay, - Input<
List< ? checkpointPercentages,int> ?> - Input<
String?> ? instanceWarmup, - Input<
int?> ? maxHealthyPercentage, - Input<
int?> ? minHealthyPercentage, - Input<
String?> ? scaleInProtectedInstances, - Input<
bool?> ? skipMatching, - Input<
String?> ? standbyInstances,
Creates a new GroupInstanceRefreshPreferences.
alarmSpecification Alarm Specification for Instance Refresh.
autoRollback Automatically rollback if instance refresh fails. Defaults to false. This option may only be set to true when specifying a launchTemplate or mixedInstancesPolicy.
checkpointDelay Number of seconds to wait after a checkpoint. Defaults to 3600.
checkpointPercentages List of percentages for each checkpoint. Values must be unique and in ascending order. To replace all instances, the final number must be 100.
instanceWarmup Number of seconds until a newly launched instance is configured and ready to use. Default behavior is to use the Auto Scaling Group's health check grace period.
maxHealthyPercentage Amount of capacity in the Auto Scaling group that can be in service and healthy, or pending, to support your workload when an instance refresh is in place, as a percentage of the desired capacity of the Auto Scaling group. Values must be between 100 and 200, defaults to 100.
minHealthyPercentage Amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh to allow the operation to continue, as a percentage of the desired capacity of the Auto Scaling group. Defaults to 90.
scaleInProtectedInstances Behavior when encountering instances protected from scale in are found. Available behaviors are Refresh, Ignore, and Wait. Default is Ignore.
skipMatching Skip replacing instances that already have your desired configuration. Defaults to false.
standbyInstances Behavior when encountering instances in the Standby state in are found. Available behaviors are Terminate, Ignore, and Wait. Default is Ignore.
Implementation
const GroupInstanceRefreshPreferences({
this.alarmSpecification,
this.autoRollback,
this.checkpointDelay,
this.checkpointPercentages,
this.instanceWarmup,
this.maxHealthyPercentage,
this.minHealthyPercentage,
this.scaleInProtectedInstances,
this.skipMatching,
this.standbyInstances,
});