Interface CfnContainerFleet.ILocationCapacityProperty
Current resource capacity settings in a specified fleet or location.
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILocationCapacityProperty
Syntax (vb)
Public Interface ILocationCapacityProperty
Remarks
The location value might refer to a fleet's remote location or its home Region.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift;
var locationCapacityProperty = new LocationCapacityProperty {
DesiredEc2Instances = 123,
MaxSize = 123,
MinSize = 123
};
Synopsis
Properties
DesiredEc2Instances | The number of EC2 instances you want to maintain in the specified fleet location. |
MaxSize | The maximum value that is allowed for the fleet's instance count for a location. |
MinSize | The minimum value allowed for the fleet's instance count for a location. |
Properties
DesiredEc2Instances
The number of EC2 instances you want to maintain in the specified fleet location.
double DesiredEc2Instances { get; }
Property Value
System.Double
Remarks
This value must fall between the minimum and maximum size limits.
MaxSize
The maximum value that is allowed for the fleet's instance count for a location.
double MaxSize { get; }
Property Value
System.Double
Remarks
MinSize
The minimum value allowed for the fleet's instance count for a location.
double MinSize { get; }
Property Value
System.Double