RequestSpotInstancesRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the RequestSpotInstances operation.

Creates a Spot Instance request.

Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.Model.RequestSpotInstancesRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class RequestSpotInstancesRequest : AmazonWebServiceRequest
         IRequestEvents

The RequestSpotInstancesRequest type exposes the following members

Constructors

  Name Description
Public Method RequestSpotInstancesRequest()

Properties

  Name Description
Public Property AvailabilityZoneGroup Specifies the Availability Zone group. When specifying the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.
Public Property InstanceCount Specifies the maximum number of Spot Instances to launch.
Public Property LaunchGroup Specifies the instance launch group. Launch groups are Spot Instances that launch and terminate together.
Public Property LaunchSpecification Specifies additional launch instance information.
Public Property SpotPrice Specifies the maximum hourly price for any Spot Instance launched to fulfill the request.
Public Property Type Specifies the Spot Instance type.

Constraints:Allowed Valuesone-time, persistent

Public Property ValidFrom Defines the start date of the request. If this is a one-time request, the request becomes active at this date and time and remains active until all instances launch, the request expires, or the request is canceled. If the request is persistent, the request becomes active at this date and time and remains active until it expires or is canceled.
Public Property ValidUntil End date of the request. If this is a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.

Version Information

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

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

.NET for Windows Phone:
Supported in: Window Phone 8