Interface CfnFleet.LocationCapacityProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleet.LocationCapacityProperty.Jsii$Proxy
- Enclosing class:
- CfnFleet
@Stability(Stable)
public static interface CfnFleet.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.
Related actions
DescribeFleetCapacity | DescribeFleetLocationCapacity | UpdateFleetCapacity
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFleet.LocationCapacityProperty
static final class
An implementation forCfnFleet.LocationCapacityProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The number of Amazon EC2 instances you want to maintain in the specified fleet location.The maximum number of instances that are allowed in the specified fleet location.The minimum number of instances that are allowed in the specified fleet location.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDesiredEc2Instances
The number of Amazon EC2 instances you want to maintain in the specified fleet location.This value must fall between the minimum and maximum size limits.
-
getMaxSize
The maximum number of instances that are allowed in the specified fleet location.If this parameter is not set, the default is 1.
-
getMinSize
The minimum number of instances that are allowed in the specified fleet location.If this parameter is not set, the default is 0.
-
builder
-