Class: AWS::EC2::ResourceObject
- Inherits:
-
Resource
- Object
- Core::Resource
- Resource
- AWS::EC2::ResourceObject
- Includes:
- TaggedItem
- Defined in:
- lib/aws/ec2/tag_collection.rb
Overview
Temporary class that will be removed once the rest of the taggable EC2 resources have been modeled.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Attributes included from Core::Model
Instance Method Summary collapse
-
#cached_tags ⇒ Object
We don’t know how to make a describe call for this object yet.
-
#initialize(id, options = {}) ⇒ ResourceObject
constructor
A new instance of ResourceObject.
- #tagging_resource_type ⇒ Object
Methods included from TaggedItem
Methods inherited from Core::Resource
attribute_providers, attribute_providers_for, attributes, #attributes_from_response, define_attribute_type, #eql?, #inspect, new_from
Methods included from Core::Cacheable
Methods included from Core::Model
#client, #config_prefix, #inspect
Constructor Details
#initialize(id, options = {}) ⇒ ResourceObject
Returns a new instance of ResourceObject.
21 22 23 24 25 |
# File 'lib/aws/ec2/tag_collection.rb', line 21 def initialize id, = {} @id = id @resource_type = [:resource_type] super end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
27 28 29 |
# File 'lib/aws/ec2/tag_collection.rb', line 27 def id @id end |
Instance Method Details
#cached_tags ⇒ Object
We don’t know how to make a describe call for this object yet
38 |
# File 'lib/aws/ec2/tag_collection.rb', line 38 def ; nil; end |
#tagging_resource_type ⇒ Object
32 33 34 |
# File 'lib/aws/ec2/tag_collection.rb', line 32 def tagging_resource_type @resource_type end |