Class GroupInstanceRefreshPreferences
- java.lang.Object
-
- com.pulumi.aws.autoscaling.outputs.GroupInstanceRefreshPreferences
-
public final class GroupInstanceRefreshPreferences extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupInstanceRefreshPreferences.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<GroupInstanceRefreshPreferencesAlarmSpecification>alarmSpecification()java.util.Optional<java.lang.Boolean>autoRollback()static GroupInstanceRefreshPreferences.Builderbuilder()static GroupInstanceRefreshPreferences.Builderbuilder(GroupInstanceRefreshPreferences defaults)java.util.Optional<java.lang.String>checkpointDelay()java.util.List<java.lang.Integer>checkpointPercentages()java.util.Optional<java.lang.String>instanceWarmup()java.util.Optional<java.lang.Integer>maxHealthyPercentage()java.util.Optional<java.lang.Integer>minHealthyPercentage()java.util.Optional<java.lang.String>scaleInProtectedInstances()java.util.Optional<java.lang.Boolean>skipMatching()java.util.Optional<java.lang.String>standbyInstances()
-
-
-
Method Detail
-
alarmSpecification
public java.util.Optional<GroupInstanceRefreshPreferencesAlarmSpecification> alarmSpecification()
- Returns:
- Alarm Specification for Instance Refresh.
-
autoRollback
public java.util.Optional<java.lang.Boolean> autoRollback()
- Returns:
- Automatically rollback if instance refresh fails. Defaults to `false`. This option may only be set to `true` when specifying a `launchTemplate` or `mixedInstancesPolicy`.
-
checkpointDelay
public java.util.Optional<java.lang.String> checkpointDelay()
- Returns:
- Number of seconds to wait after a checkpoint. Defaults to `3600`.
-
checkpointPercentages
public java.util.List<java.lang.Integer> checkpointPercentages()
- Returns:
- 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
public java.util.Optional<java.lang.String> instanceWarmup()
- Returns:
- 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
public java.util.Optional<java.lang.Integer> maxHealthyPercentage()
- Returns:
- 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
public java.util.Optional<java.lang.Integer> minHealthyPercentage()
- Returns:
- 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
public java.util.Optional<java.lang.String> scaleInProtectedInstances()
- Returns:
- Behavior when encountering instances protected from scale in are found. Available behaviors are `Refresh`, `Ignore`, and `Wait`. Default is `Ignore`.
-
skipMatching
public java.util.Optional<java.lang.Boolean> skipMatching()
- Returns:
- Skip replacing instances that already have your desired configuration. Defaults to `false`.
-
standbyInstances
public java.util.Optional<java.lang.String> standbyInstances()
- Returns:
- Behavior when encountering instances in the `Standby` state in are found. Available behaviors are `Terminate`, `Ignore`, and `Wait`. Default is `Ignore`.
-
builder
public static GroupInstanceRefreshPreferences.Builder builder()
-
builder
public static GroupInstanceRefreshPreferences.Builder builder(GroupInstanceRefreshPreferences defaults)
-
-