Class CfnContainerFleet.LocationCapacityProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.gamelift.CfnContainerFleet.LocationCapacityProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnContainerFleet.LocationCapacityProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnContainerFleet.LocationCapacityProperty
@Stability(Stable)
@Internal
public static final class CfnContainerFleet.LocationCapacityProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnContainerFleet.LocationCapacityProperty
An implementation for
CfnContainerFleet.LocationCapacityProperty-
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.gamelift.CfnContainerFleet.LocationCapacityProperty
CfnContainerFleet.LocationCapacityProperty.Builder, CfnContainerFleet.LocationCapacityProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnContainerFleet.LocationCapacityProperty.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 NumberDefaults to MinSize if not defined.final NumberThe maximum value that is allowed for the fleet's instance count for a location.final NumberThe minimum value allowed for the fleet's instance count for a location.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 theCfnContainerFleet.LocationCapacityProperty.Builder.
-
-
Method Details
-
getMaxSize
Description copied from interface:CfnContainerFleet.LocationCapacityPropertyThe maximum value that is allowed for the fleet's instance count for a location.- Specified by:
getMaxSizein interfaceCfnContainerFleet.LocationCapacityProperty- See Also:
-
getMinSize
Description copied from interface:CfnContainerFleet.LocationCapacityPropertyThe minimum value allowed for the fleet's instance count for a location.- Specified by:
getMinSizein interfaceCfnContainerFleet.LocationCapacityProperty- See Also:
-
getDesiredEc2Instances
Description copied from interface:CfnContainerFleet.LocationCapacityPropertyDefaults to MinSize if not defined.The number of EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. If any auto-scaling policy is defined for the container fleet, the desired instance will only be applied once during fleet creation and will be ignored in updates to avoid conflicts with auto-scaling. During updates with any auto-scaling policy defined, if current desired instance is lower than the new MinSize, it will be increased to the new MinSize; if current desired instance is larger than the new MaxSize, it will be decreased to the new MaxSize.
- Specified by:
getDesiredEc2Instancesin interfaceCfnContainerFleet.LocationCapacityProperty- 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()
-