public static interface CfnFleet.LocationCapacityProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnFleet.LocationCapacityProperty.Builder
A builder for
CfnFleet.LocationCapacityProperty |
static class |
CfnFleet.LocationCapacityProperty.Jsii$Proxy
An implementation for
CfnFleet.LocationCapacityProperty |
Modifier and Type | Method and Description |
---|---|
static CfnFleet.LocationCapacityProperty.Builder |
builder() |
java.lang.Number |
getDesiredEc2Instances()
The number of Amazon EC2 instances you want to maintain in the specified fleet location.
|
java.lang.Number |
getMaxSize()
The maximum number of instances that are allowed in the specified fleet location.
|
java.lang.Number |
getMinSize()
The minimum number of instances that are allowed in the specified fleet location.
|
java.lang.Number getDesiredEc2Instances()
This value must fall between the minimum and maximum size limits.
java.lang.Number getMaxSize()
If this parameter is not set, the default is 1.
java.lang.Number getMinSize()
If this parameter is not set, the default is 0.
static CfnFleet.LocationCapacityProperty.Builder builder()