module AWS::EC2::TaggedCollection

def tagged *keys


collection.tagged('live').tagged('webserver')

Filter the collection to items tagged 'live' AND 'webserver'

collection.tagged('live', 'test')

Filter the collection to items items tagged 'live' OR 'test'

AND them together call tagged multiple times (chained).
tag keys they will be be treated as OR conditions. If you want to
Filter the collection by one or more tag keys. If you pass multiple
def tagged *keys
  filter('tag-key', *keys)
end

def tagged_values *values


collection.tagged('stage').tagged_values('production')

AND them together call tagged multiple times (chained).
tag values they will be be treated as OR conditions. If you want to
Filter the collection by one or more tag values. If you pass multiple
def tagged_values *values
  filter('tag-value', *values)
end