You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::PurchaseRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PurchaseRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  instance_count: 1, # required
  purchase_token: "String", # required
}

Describes a request to purchase Scheduled Instances.

Instance Attribute Summary collapse

Instance Attribute Details

#instance_countInteger

The number of instances.

Returns:

  • (Integer)

    The number of instances.

#purchase_tokenString

The purchase token.

Returns:

  • (String)

    The purchase token.