Class: Aws::EC2::Types::CreateReservedInstancesListingRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateReservedInstancesListingRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass CreateReservedInstancesListingRequest data as a hash:
{
client_token: "String", # required
instance_count: 1, # required
price_schedules: [ # required
{
currency_code: "USD", # accepts USD
price: 1.0,
term: 1,
},
],
reserved_instances_id: "String", # required
}
Contains the parameters for CreateReservedInstancesListing.
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier you provide to ensure idempotency of your listings.
-
#instance_count ⇒ Integer
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace.
-
#price_schedules ⇒ Array<Types::PriceScheduleSpecification>
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
-
#reserved_instances_id ⇒ String
The ID of the active Standard Reserved Instance.
Instance Attribute Details
#client_token ⇒ String
Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see [Ensuring Idempotency].
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
6022 6023 6024 6025 6026 6027 6028 |
# File 'lib/aws-sdk-ec2/types.rb', line 6022 class CreateReservedInstancesListingRequest < Struct.new( :client_token, :instance_count, :price_schedules, :reserved_instances_id) include Aws::Structure end |
#instance_count ⇒ Integer
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.
6022 6023 6024 6025 6026 6027 6028 |
# File 'lib/aws-sdk-ec2/types.rb', line 6022 class CreateReservedInstancesListingRequest < Struct.new( :client_token, :instance_count, :price_schedules, :reserved_instances_id) include Aws::Structure end |
#price_schedules ⇒ Array<Types::PriceScheduleSpecification>
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
6022 6023 6024 6025 6026 6027 6028 |
# File 'lib/aws-sdk-ec2/types.rb', line 6022 class CreateReservedInstancesListingRequest < Struct.new( :client_token, :instance_count, :price_schedules, :reserved_instances_id) include Aws::Structure end |
#reserved_instances_id ⇒ String
The ID of the active Standard Reserved Instance.
6022 6023 6024 6025 6026 6027 6028 |
# File 'lib/aws-sdk-ec2/types.rb', line 6022 class CreateReservedInstancesListingRequest < Struct.new( :client_token, :instance_count, :price_schedules, :reserved_instances_id) include Aws::Structure end |