Class InstanceRefreshOptions.Jsii$Proxy
- All Implemented Interfaces:
InstanceRefreshOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
InstanceRefreshOptions
InstanceRefreshOptions-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.InstanceRefreshOptions
InstanceRefreshOptions.Builder, InstanceRefreshOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(InstanceRefreshOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theInstanceRefreshOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanThe CloudWatch alarms to monitor during the instance refresh.final DurationThe amount of time after an instance refresh completes successfully before CloudFormation considers the update successful.final DurationThe amount of time to wait after a checkpoint is reached before continuing.Threshold values for each checkpoint in ascending order.final DurationThe amount of time to wait after a new instance enters the InService state before moving on to refresh the next instance.final NumberThe maximum percentage of the group that can be in service and healthy, or pending, to support your workload during the instance refresh.final NumberThe minimum percentage of the group to keep in service, healthy, and ready to use to support your workload during the instance refresh, expressed as a percentage of the group's desired capacity.Specifies the behavior of instances that are protected from scale in during an instance refresh.final BooleanIndicates whether skip matching is enabled.final StandbyInstancesSpecifies the behavior of instances in standby during an instance refresh.final InstanceRefreshStrategyThe strategy to use for the instance refresh.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theInstanceRefreshOptions.Builder.
-
-
Method Details
-
getStrategy
Description copied from interface:InstanceRefreshOptionsThe strategy to use for the instance refresh.- Specified by:
getStrategyin interfaceInstanceRefreshOptions
-
getAlarms
Description copied from interface:InstanceRefreshOptionsThe CloudWatch alarms to monitor during the instance refresh.If any of the alarms goes into ALARM state, the instance refresh fails. You can specify up to 10 alarms.
Default: - no alarms
- Specified by:
getAlarmsin interfaceInstanceRefreshOptions
-
getBakeTime
Description copied from interface:InstanceRefreshOptionsThe amount of time after an instance refresh completes successfully before CloudFormation considers the update successful.Default: Duration.seconds(0)
- Specified by:
getBakeTimein interfaceInstanceRefreshOptions
-
getCheckpointDelay
Description copied from interface:InstanceRefreshOptionsThe amount of time to wait after a checkpoint is reached before continuing.Default: - 3600 seconds (1 hour), applied only when checkpointPercentages is set
- Specified by:
getCheckpointDelayin interfaceInstanceRefreshOptions
-
getCheckpointPercentages
Description copied from interface:InstanceRefreshOptionsThreshold values for each checkpoint in ascending order.Each number must be unique. To replace all instances in the group, the last number in the array must be 100.
Default: - no checkpoints
- Specified by:
getCheckpointPercentagesin interfaceInstanceRefreshOptions
-
getInstanceWarmup
Description copied from interface:InstanceRefreshOptionsThe amount of time to wait after a new instance enters the InService state before moving on to refresh the next instance.Default: - the group's DefaultInstanceWarmup if defined; otherwise the group's HealthCheckGracePeriod
- Specified by:
getInstanceWarmupin interfaceInstanceRefreshOptions
-
getMaxHealthyPercentage
Description copied from interface:InstanceRefreshOptionsThe maximum percentage of the group that can be in service and healthy, or pending, to support your workload during the instance refresh.The difference between
maxHealthyPercentageandminHealthyPercentagecannot be greater than 100. A larger range increases the number of instances that can be replaced at the same time.Default: - the value set in the Auto Scaling group's instance maintenance policy, if defined; otherwise 110 when the strategy is Rolling, or 100 when the strategy is ReplaceRootVolume
- Specified by:
getMaxHealthyPercentagein interfaceInstanceRefreshOptions
-
getMinHealthyPercentage
Description copied from interface:InstanceRefreshOptionsThe minimum percentage of the group to keep in service, healthy, and ready to use to support your workload during the instance refresh, expressed as a percentage of the group's desired capacity.Default: - the value set in the Auto Scaling group's instance maintenance policy, if defined; otherwise 100 when the strategy is Rolling, or 90 when the strategy is ReplaceRootVolume
- Specified by:
getMinHealthyPercentagein interfaceInstanceRefreshOptions
-
getScaleInProtectedInstances
Description copied from interface:InstanceRefreshOptionsSpecifies the behavior of instances that are protected from scale in during an instance refresh.Default: ScaleInProtectedInstances.WAIT
- Specified by:
getScaleInProtectedInstancesin interfaceInstanceRefreshOptions
-
getSkipMatching
Description copied from interface:InstanceRefreshOptionsIndicates whether skip matching is enabled.Default: true
- Specified by:
getSkipMatchingin interfaceInstanceRefreshOptions
-
getStandbyInstances
Description copied from interface:InstanceRefreshOptionsSpecifies the behavior of instances in standby during an instance refresh.Default: StandbyInstances.WAIT
- Specified by:
getStandbyInstancesin interfaceInstanceRefreshOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-