AWS SDK Version 3 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.

Describes the configuration of a Spot fleet request.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.SpotFleetRequestConfigData

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class SpotFleetRequestConfigData

The SpotFleetRequestConfigData type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AllocationStrategy Amazon.EC2.AllocationStrategy

Gets and sets the property AllocationStrategy.

Indicates 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 ExcessCapacityTerminationPolicy Amazon.EC2.ExcessCapacityTerminationPolicy

Gets and sets the property ExcessCapacityTerminationPolicy.

Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.

Public Property FulfilledCapacity System.Double

Gets and sets the property FulfilledCapacity.

The number of units fulfilled by this request compared to the set target capacity.

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 InstanceInterruptionBehavior Amazon.EC2.InstanceInterruptionBehavior

Gets and sets the property InstanceInterruptionBehavior.

Indicates whether a Spot instance stops or terminates when it is interrupted.

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 ReplaceUnhealthyInstances System.Boolean

Gets and sets the property ReplaceUnhealthyInstances.

Indicates whether Spot fleet should replace unhealthy instances.

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 Type Amazon.EC2.FleetType

Gets and sets the property Type.

The type of request. Indicates whether the fleet will only request the target capacity or also attempt to maintain it. When you request a certain target capacity, the fleet will only place the required bids. It will not attempt to replenish Spot instances if capacity is diminished, nor will it submit bids in alternative Spot pools if capacity is not available. When you want to maintain a certain target capacity, fleet will place the required bids to meet this target capacity. It will also automatically replenish any interrupted instances. Default: maintain.

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 Standard:
Supported in: 1.3

.NET Framework:
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