C# Class Amazon.EC2.Model.DescribeSpotInstanceRequestsRequest

Container for the parameters to the DescribeSpotInstanceRequests operation. Describes the Spot instance requests that belong to your account. Spot instances are instances that Amazon EC2 launches when the bid 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 more information, see Spot Instance Requests in the Amazon Elastic Compute Cloud User Guide.

You can use DescribeSpotInstanceRequests to find a running Spot instance by examining the response. If the status of the Spot instance is fulfilled, the instance ID appears in the response and contains the identifier of the instance. Alternatively, you can use DescribeInstances with a filter to look for instances where the instance lifecycle is spot.

Spot instance requests are deleted 4 hours after they are canceled and their instances are terminated.

Inheritance: AmazonEC2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Private Methods

Method Description
IsSetFilters ( ) : bool
IsSetSpotInstanceRequestIds ( ) : bool