You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SavingsPlans::Types::CreateSavingsPlanRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SavingsPlans::Types::CreateSavingsPlanRequest
- Defined in:
- (unknown)
Overview
When passing CreateSavingsPlanRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
savings_plan_offering_id: "SavingsPlanOfferingId", # required
commitment: "Amount", # required
upfront_payment_amount: "Amount",
purchase_time: Time.now,
client_token: "ClientToken",
tags: {
"TagKey" => "TagValue",
},
}
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#commitment ⇒ String
The hourly commitment, in USD.
-
#purchase_time ⇒ Time
The time at which to purchase the Savings Plan, in UTC format (YYYY-MM-DDTHH:MM:SSZ).
-
#savings_plan_offering_id ⇒ String
The ID of the offering.
-
#tags ⇒ Hash<String,String>
One or more tags.
-
#upfront_payment_amount ⇒ String
The up-front payment amount.
Instance Attribute Details
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
#commitment ⇒ String
The hourly commitment, in USD. This is a value between 0.001 and 1 million. You cannot specify more than three digits after the decimal point.
#purchase_time ⇒ Time
The time at which to purchase the Savings Plan, in UTC format (YYYY-MM-DDTHH:MM:SSZ).
#savings_plan_offering_id ⇒ String
The ID of the offering.
#tags ⇒ Hash<String,String>
One or more tags.
#upfront_payment_amount ⇒ String
The up-front payment amount. This is a whole number between 50 and 99
percent of the total value of the Savings Plan. This parameter is
supported only if the payment option is Partial Upfront
.