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 4.5
 
Describes the configuration of a Spot fleet request.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.SpotFleetRequestConfigData

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

Syntax

C#
public class SpotFleetRequestConfigData : Object

The SpotFleetRequestConfigData type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AllocationStrategy Amazon.EC2.AllocationStrategy Gets and sets the property AllocationStrategy.

Determines how to allocate the target capacity across the Spot pools specified by the Spot fleet request. The default is lowestPrice.

Public Property ClientToken System.String Gets and sets the property ClientToken.

A unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.

Public Property IamFleetRole System.String Gets and sets the property IamFleetRole.

Grants the Spot fleet permission to terminate Spot instances on your behalf when you cancel its Spot fleet request using CancelSpotFleetRequests or when the Spot fleet request expires, if you set terminateInstancesWithExpiration.

Public Property LaunchSpecifications System.Collections.Generic.List<Amazon.EC2.Model.SpotFleetLaunchSpecification> Gets and sets the property LaunchSpecifications.

Information about the launch specifications for the Spot fleet request.

Public Property SpotPrice System.String Gets and sets the property SpotPrice.

The bid price per unit hour.

Public Property TargetCapacity System.Int32 Gets and sets the property TargetCapacity.

The number of units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O.

Public Property TerminateInstancesWithExpiration System.Boolean Gets and sets the property TerminateInstancesWithExpiration.

Indicates whether running Spot instances should be terminated when the Spot fleet request expires.

Public Property ValidFrom System.DateTime Gets and sets the property ValidFrom.

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

Public Property ValidUntil System.DateTime Gets and sets the property ValidUntil.

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8