Module: Swa::EC2::TaggedResource

Included in:
Image, Instance, Snapshot, Subnet, Volume, Vpc
Defined in:
lib/swa/ec2/tagged_resource.rb

Instance Method Summary collapse

Instance Method Details

#tagsObject



8
9
10
11
12
# File 'lib/swa/ec2/tagged_resource.rb', line 8

def tags
  aws_resource.tags.each_with_object({}) do |tag, result|
    result[tag.key] = tag.value
  end
end