Class CfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnAutoScalingGroup.InstanceMaintenancePolicyProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAutoScalingGroup.InstanceMaintenancePolicyProperty
@Stability(Stable)
@Internal
public static final class CfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnAutoScalingGroup.InstanceMaintenancePolicyProperty
An implementation for
CfnAutoScalingGroup.InstanceMaintenancePolicyProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.InstanceMaintenancePolicyProperty
CfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Builder, CfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Number
Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group.final Number
Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group.final int
hashCode()
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 theCfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Builder
.
-
-
Method Details
-
getMaxHealthyPercentage
Description copied from interface:CfnAutoScalingGroup.InstanceMaintenancePolicyProperty
Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group.It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
.Both
MinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time.- Specified by:
getMaxHealthyPercentage
in interfaceCfnAutoScalingGroup.InstanceMaintenancePolicyProperty
- See Also:
-
getMinHealthyPercentage
Description copied from interface:CfnAutoScalingGroup.InstanceMaintenancePolicyProperty
Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group.It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.- Specified by:
getMinHealthyPercentage
in interfaceCfnAutoScalingGroup.InstanceMaintenancePolicyProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-