# File lib/aws/ec2/resource_tag_collection.rb, line 48 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