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_zoneString

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

Returns:

  • (String)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#currency_codeString

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)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#durationInteger

The duration of the Reserved Instance, in seconds.

Returns:

  • (Integer)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#endTime

The time when the Reserved Instance expires.

Returns:

  • (Time)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#fixed_priceFloat

The purchase price of the Reserved Instance.

Returns:

  • (Float)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#instance_countInteger

The number of reservations purchased.

Returns:

  • (Integer)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#instance_tenancyString

The tenancy of the instance.

Returns:

  • (String)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#instance_typeString

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

Returns:

  • (String)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#offering_classString

The offering class of the Reserved Instance.

Returns:

  • (String)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#offering_typeString

The Reserved Instance offering type.

Returns:

  • (String)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#product_descriptionString

The Reserved Instance product platform description.

Returns:

  • (String)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#recurring_chargesArray<Types::RecurringCharge>

The recurring charge tag assigned to the resource.

Returns:



57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#reserved_instances_idString

The ID of the Reserved Instance.

Returns:

  • (String)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#scopeString

The scope of the Reserved Instance.

Returns:

  • (String)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#startTime

The date and time the Reserved Instance started.

Returns:

  • (Time)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#stateString

The state of the Reserved Instance purchase.

Returns:

  • (String)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#tagsArray<Types::Tag>

Any tags assigned to the resource.

Returns:



57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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

#usage_priceFloat

The usage price of the Reserved Instance, per hour.

Returns:

  • (Float)


57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57088

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