Class: Aws::EC2::Types::ReservedInstances

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

Overview

Describes a Reserved Instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zone ⇒ String

The Availability Zone in which the Reserved Instance can be used.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zone_id ⇒ String

The ID of the Availability Zone.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#currency_code ⇒ String

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#duration ⇒ Integer

The duration of the Reserved Instance, in seconds.

Returns:

  • (Integer)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#end ⇒ Time

The time when the Reserved Instance expires.

Returns:

  • (Time)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#fixed_price ⇒ Float

The purchase price of the Reserved Instance.

Returns:

  • (Float)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#instance_count ⇒ Integer

The number of reservations purchased.

Returns:

  • (Integer)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#instance_tenancy ⇒ String

The tenancy of the instance.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#instance_type ⇒ String

The instance type on which the Reserved Instance can be used.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#offering_class ⇒ String

The offering class of the Reserved Instance.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#offering_type ⇒ String

The Reserved Instance offering type.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#product_description ⇒ String

The Reserved Instance product platform description.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#recurring_charges ⇒ Array<Types::RecurringCharge>

The recurring charge tag assigned to the resource.

Returns:



78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#reserved_instances_id ⇒ String

The ID of the Reserved Instance.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#scope ⇒ String

The scope of the Reserved Instance.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#start ⇒ Time

The date and time the Reserved Instance started.

Returns:

  • (Time)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#state ⇒ String

The state of the Reserved Instance purchase.

Returns:

  • (String)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Array<Types::Tag>

Any tags assigned to the resource.

Returns:



78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#usage_price ⇒ Float

The usage price of the Reserved Instance, per hour.

Returns:

  • (Float)


78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 78018

class ReservedInstances < Struct.new(
  :currency_code,
  :instance_tenancy,
  :offering_class,
  :offering_type,
  :recurring_charges,
  :scope,
  :tags,
  :availability_zone_id,
  :reserved_instances_id,
  :instance_type,
  :availability_zone,
  :start,
  :end,
  :duration,
  :usage_price,
  :fixed_price,
  :instance_count,
  :product_description,
  :state)
  SENSITIVE = []
  include Aws::Structure
end