# File lib/aws/ec2/resource_tag_collection.rb, line 43 def [](key) if cached = cached_tags return cached[key.to_s] end Tag.new(@resource, key, :config => config).value rescue Resource::NotFound => e nil end