Class CfnContainerFleet.LocationCapacityProperty
Current resource capacity settings in a specified fleet or location.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContainerFleet.LocationCapacityProperty : CfnContainerFleet.ILocationCapacityProperty
Syntax (vb)
Public Class CfnContainerFleet.LocationCapacityProperty Implements CfnContainerFleet.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
Constructors
LocationCapacityProperty() | Current resource capacity settings in a specified fleet or location. |
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. |
Constructors
LocationCapacityProperty()
Current resource capacity settings in a specified fleet or location.
public LocationCapacityProperty()
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
};
Properties
DesiredEc2Instances
The number of EC2 instances you want to maintain in the specified fleet location.
public double DesiredEc2Instances { get; set; }
Property Value
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.
public double MaxSize { get; set; }
Property Value
Remarks
MinSize
The minimum value allowed for the fleet's instance count for a location.
public double MinSize { get; set; }