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

#commitment ⇒ String

The hourly commitment, in USD.

Returns:

  • (String) —

    The hourly commitment, in USD.

#currency ⇒ String

The currency.

Possible values:

  • CNY
  • USD

Returns:

  • (String) —

    The currency.

#description ⇒ String

The description.

Returns:

  • (String) —

    The description.

#ec2_instance_family ⇒ String

The EC2 instance family.

Returns:

  • (String) —

    The EC2 instance family.

#end ⇒ String

The end time.

Returns:

  • (String) —

    The end time.

#offering_id ⇒ String

The ID of the offering.

Returns:

  • (String) —

    The ID of the offering.

#payment_option ⇒ String

The payment option.

Possible values:

  • All Upfront
  • Partial Upfront
  • No Upfront

Returns:

  • (String) —

    The payment option.

#product_types ⇒ Array<String>

The product types.

Returns:

  • (Array<String>) —

    The product types.

#recurring_payment_amount ⇒ String

The recurring payment amount.

Returns:

  • (String) —

    The recurring payment amount.

#region ⇒ String

The AWS Region.

Returns:

  • (String) —

    The AWS Region.

#savings_plan_arn ⇒ String

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

Returns:

  • (String) —

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

#savings_plan_id ⇒ String

The ID of the Savings Plan.

Returns:

  • (String) —

    The ID of the Savings Plan.

#savings_plan_type ⇒ String

The plan type.

Possible values:

  • Compute
  • EC2Instance

Returns:

  • (String) —

    The plan type.

#start ⇒ String

The start time.

Returns:

  • (String) —

    The start time.

#state ⇒ String

The state.

Possible values:

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

Returns:

  • (String) —

    The state.

#tags ⇒ Hash<String,String>

One or more tags.

Returns:

  • (Hash<String,String>) —

    One or more tags.

#term_duration_in_seconds ⇒ Integer

The duration of the term, in seconds.

Returns:

  • (Integer) —

    The duration of the term, in seconds.

#upfront_payment_amount ⇒ String

The up-front payment amount.

Returns:

  • (String) —

    The up-front payment amount.