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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.InstanceMaintenancePolicyProperty
CfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Builder, CfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnAutoScalingGroup.InstanceMaintenancePolicyProperty.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 booleanfinal NumberSpecifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group.final NumberSpecifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group.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 theCfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Builder.
-
-
Method Details
-
getMaxHealthyPercentage
Description copied from interface:CfnAutoScalingGroup.InstanceMaintenancePolicyPropertySpecifies 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
MinHealthyPercentageandMaxHealthyPercentagemust 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:
getMaxHealthyPercentagein interfaceCfnAutoScalingGroup.InstanceMaintenancePolicyProperty- See Also:
-
getMinHealthyPercentage
Description copied from interface:CfnAutoScalingGroup.InstanceMaintenancePolicyPropertySpecifies 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:
getMinHealthyPercentagein interfaceCfnAutoScalingGroup.InstanceMaintenancePolicyProperty- See Also:
-
$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()
-