AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdateFleetCapacity operation. Updates capacity settings for a fleet. Use this action to specify the number of EC2 instances (hosts) that you want this fleet to contain. Before calling this action, you may want to call DescribeEC2InstanceLimits to get the maximum capacity based on the fleet's EC2 instance type.
If you're using autoscaling (see PutScalingPolicy), you may want to specify a minimum and/or maximum capacity. If you don't provide these, autoscaling can set capacity anywhere between zero and the service limits.
To update fleet capacity, specify the fleet ID and the number of instances you want the fleet to host. If successful, Amazon GameLift starts or terminates instances so that the fleet's active instance count matches the desired instance count. You can view a fleet's current capacity information by calling DescribeFleetCapacity. If the desired instance count is higher than the instance type's limit, the "Limit Exceeded" exception occurs.
Fleet-related operations include:
Manage fleet capacity:
public class UpdateFleetCapacityRequest : AmazonGameLiftRequest IAmazonWebServiceRequest
The UpdateFleetCapacityRequest type exposes the following members
Gets and sets the property DesiredInstances.
Number of EC2 instances you want this fleet to host.
Gets and sets the property FleetId.
Unique identifier for a fleet to update capacity for.
Gets and sets the property MaxSize.
Maximum value allowed for the fleet's instance count. Default if not set is 1.
Gets and sets the property MinSize.
Minimum value allowed for the fleet's instance count. Default if not set is 0.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms