Class CfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.autoscaling.CfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty
@Stability(Stable)
@Internal
public static final class CfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty
An implementation for
CfnAutoScalingGroupPropsMixin.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.cfnpropertymixins.services.autoscaling.CfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty
CfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty.Builder, CfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnAutoScalingGroupPropsMixin.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
protected Jsii$Proxy(CfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty.Builder.
-
-
Method Details
-
getMaxHealthyPercentage
Description copied from interface:CfnAutoScalingGroupPropsMixin.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 interfaceCfnAutoScalingGroupPropsMixin.InstanceMaintenancePolicyProperty- See Also:
-
getMinHealthyPercentage
Description copied from interface:CfnAutoScalingGroupPropsMixin.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 interfaceCfnAutoScalingGroupPropsMixin.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()
-