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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb

Overview

Information about a Savings Plan.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commitmentString

The hourly commitment, in USD.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#currencyString

The currency.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#ec2_instance_familyString

The EC2 instance family.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#endString

The end time.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#offering_idString

The ID of the offering.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#payment_optionString

The payment option.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#product_typesArray<String>

The product types.

Returns:

  • (Array<String>)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#recurring_payment_amountString

The recurring payment amount.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The AWS Region.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plan_arnString

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

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plan_idString

The ID of the Savings Plan.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plan_typeString

The plan type.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#startString

The start time.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The state.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

One or more tags.

Returns:

  • (Hash<String,String>)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#term_duration_in_secondsInteger

The duration of the term, in seconds.

Returns:

  • (Integer)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#upfront_payment_amountString

The up-front payment amount.

Returns:

  • (String)


635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 635

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end