Class: AWS::EC2::Collection
- Inherits:
-
Object
- Object
- AWS::EC2::Collection
- Includes:
- Core::Model, FilteredCollection, Enumerable
- Defined in:
- lib/aws/ec2/collection.rb
Direct Known Subclasses
AvailabilityZoneCollection, CustomerGatewayCollection, DHCPOptionsCollection, ElasticIpCollection, ImageCollection, InstanceCollection, InternetGatewayCollection, KeyPairCollection, NetworkACLCollection, NetworkInterfaceCollection, RegionCollection, ReservedInstancesCollection, ReservedInstancesOfferingCollection, RouteTableCollection, SecurityGroupCollection, SnapshotCollection, SubnetCollection, TagCollection, VPCCollection, VPNConnectionCollection, VPNGatewayCollection, VolumeCollection
Instance Attribute Summary
Attributes included from Core::Model
Instance Method Summary collapse
Methods included from FilteredCollection
#filter, #filtered_request, #initialize
Methods included from Core::Model
#client, #config_prefix, #initialize, #inspect
Instance Method Details
#[](id) ⇒ Object
24 25 26 |
# File 'lib/aws/ec2/collection.rb', line 24 def [] id member_class.new(id.to_s, :config => config) end |