Interface CfnContainerFleet.LocationCapacityProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerFleet.LocationCapacityProperty.Jsii$Proxy
- Enclosing class:
CfnContainerFleet
@Stability(Stable)
public static interface CfnContainerFleet.LocationCapacityProperty
extends software.amazon.jsii.JsiiSerializable
Current resource capacity settings in a specified fleet or location.
The location value might refer to a fleet's remote location or its home Region.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.gamelift.*; LocationCapacityProperty locationCapacityProperty = LocationCapacityProperty.builder() .desiredEc2Instances(123) .maxSize(123) .minSize(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnContainerFleet.LocationCapacityProperty
static final class
An implementation forCfnContainerFleet.LocationCapacityProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The number of EC2 instances you want to maintain in the specified fleet location.The maximum value that is allowed for the fleet's instance count for a location.The minimum value allowed for the fleet's instance count for a location.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDesiredEc2Instances
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.
- See Also:
-
getMaxSize
The maximum value that is allowed for the fleet's instance count for a location.- See Also:
-
getMinSize
The minimum value allowed for the fleet's instance count for a location.- See Also:
-
builder
-