You are viewing documentation for version 1 of the AWS SDK for Ruby. Version 2 documentation can be found here.
Class: AWS::EC2::ReservedInstances
- Inherits:
-
Resource
- Object
- Core::Resource
- Resource
- AWS::EC2::ReservedInstances
- Includes:
- TaggedItem
- Defined in:
- lib/aws/ec2/reserved_instances.rb
Constant Summary
- ATTRIBUTES =
[ :start, :instance_count, :instance_type, :availability_zone, :duration, :fixed_price, :usage_price, :product_description, :instance_tenancy, :currency_code, :recurring_charges, :offering_type, :state, :end, ]
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The id of this reserved instance.
Instance Method Summary collapse
-
#initialize(id, options = {}) ⇒ ReservedInstances
constructor
A new instance of ReservedInstances.
Methods included from TaggedItem
Constructor Details
#initialize(id, options = {}) ⇒ ReservedInstances
Returns a new instance of ReservedInstances
37 38 39 40 |
# File 'lib/aws/ec2/reserved_instances.rb', line 37 def initialize id, = {} @id = id super end |
Instance Attribute Details
#id ⇒ String (readonly)
Returns The id of this reserved instance.
43 44 45 |
# File 'lib/aws/ec2/reserved_instances.rb', line 43 def id @id end |