AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 3.5
 
Creates a Spot fleet request.

You can submit a single request that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet.

By default, the Spot fleet requests Spot instances in the Spot pool where the price per unit is the lowest. Each launch specification can include its own instance weighting that reflects the value of the instance type to your application workload.

Alternatively, you can specify that the Spot fleet distribute the target capacity across the Spot pools included in its launch specifications. By ensuring that the Spot instances in your Spot fleet are in different Spot pools, you can improve the availability of your fleet.

For more information, see Spot Fleet Requests in the Amazon Elastic Compute Cloud User Guide.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract RequestSpotFleetResponse RequestSpotFleet(
         RequestSpotFleetRequest request
)

Parameters

request
Type: Amazon.EC2.Model.RequestSpotFleetRequest

Container for the necessary parameters to execute the RequestSpotFleet service method.

Return Value
Type: Amazon.EC2.Model.RequestSpotFleetResponse
The response from the RequestSpotFleet service method, as returned by EC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5