Class CfnServicePropsMixin.ThresholdConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.ThresholdConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnServicePropsMixin.ThresholdConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnServicePropsMixin.ThresholdConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnServicePropsMixin.ThresholdConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnServicePropsMixin.ThresholdConfigurationProperty
An implementation for
CfnServicePropsMixin.ThresholdConfigurationProperty-
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.ecs.CfnServicePropsMixin.ThresholdConfigurationProperty
CfnServicePropsMixin.ThresholdConfigurationProperty.Builder, CfnServicePropsMixin.ThresholdConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnServicePropsMixin.ThresholdConfigurationProperty.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 StringgetType()Determines how Amazon ECS usesvalueto calculate the failure threshold.final NumbergetValue()Specifies the integer that Amazon ECS uses to calculate the failure threshold.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 theCfnServicePropsMixin.ThresholdConfigurationProperty.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnServicePropsMixin.ThresholdConfigurationPropertyDetermines how Amazon ECS usesvalueto calculate the failure threshold.For the percentage types (
BOUNDED_PERCENTandUNBOUNDED_PERCENT), Amazon ECS multipliesvalueby the latest service desired count. ForCOUNT, Amazon ECS usesvaluedirectly as the threshold. The default isBOUNDED_PERCENT.- Specified by:
getTypein interfaceCfnServicePropsMixin.ThresholdConfigurationProperty- See Also:
-
getValue
Description copied from interface:CfnServicePropsMixin.ThresholdConfigurationPropertySpecifies the integer that Amazon ECS uses to calculate the failure threshold.When
typeisCOUNT, this value is the failure threshold itself. Whentypeis a percentage type, Amazon ECS multiplies this value by the latest service desired count to produce the failure threshold. The default is50.- Specified by:
getValuein interfaceCfnServicePropsMixin.ThresholdConfigurationProperty- 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()
-