AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::SavingsPlans::Types::SavingsPlan

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

Overview

Information about a Savings Plan.

Instance Attribute Summary collapse

Instance Attribute Details

#commitmentString

The hourly commitment, in USD.

Returns:

  • (String)

    The hourly commitment, in USD.

#currencyString

The currency.

Possible values:

  • CNY
  • USD

Returns:

  • (String)

    The currency.

#descriptionString

The description.

Returns:

  • (String)

    The description.

#ec2_instance_familyString

The EC2 instance family.

Returns:

  • (String)

    The EC2 instance family.

#endString

The end time.

Returns:

  • (String)

    The end time.

#offering_idString

The ID of the offering.

Returns:

  • (String)

    The ID of the offering.

#payment_optionString

The payment option.

Possible values:

  • All Upfront
  • Partial Upfront
  • No Upfront

Returns:

  • (String)

    The payment option.

#product_typesArray<String>

The product types.

Returns:

  • (Array<String>)

    The product types.

#recurring_payment_amountString

The recurring payment amount.

Returns:

  • (String)

    The recurring payment amount.

#regionString

The AWS Region.

Returns:

  • (String)

    The AWS Region.

#savings_plan_arnString

The Amazon Resource Name (ARN) of the Savings Plan.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the Savings Plan.

#savings_plan_idString

The ID of the Savings Plan.

Returns:

  • (String)

    The ID of the Savings Plan.

#savings_plan_typeString

The plan type.

Possible values:

  • Compute
  • EC2Instance

Returns:

  • (String)

    The plan type.

#startString

The start time.

Returns:

  • (String)

    The start time.

#stateString

The state.

Possible values:

  • payment-pending
  • payment-failed
  • active
  • retired
  • queued
  • queued-deleted

Returns:

  • (String)

    The state.

#tagsHash<String,String>

One or more tags.

Returns:

  • (Hash<String,String>)

    One or more tags.

#term_duration_in_secondsInteger

The duration of the term, in seconds.

Returns:

  • (Integer)

    The duration of the term, in seconds.

#upfront_payment_amountString

The up-front payment amount.

Returns:

  • (String)

    The up-front payment amount.