Class: Aws::EC2::Resource
- Inherits:
-
Object
- Object
- Aws::EC2::Resource
- Defined in:
- lib/aws-sdk-resources/services/ec2.rb
Instance Method Summary collapse
Instance Method Details
#create_tags(options) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/aws-sdk-resources/services/ec2.rb', line 8 def () resp = @client.() = [] [:resources].each do |resource_id| [:tags].each do |tag| << Tag.new(resource_id, tag[:key], tag[:value], client: @client) end end Resources::Batch.new(Tag, , response: resp) end |