class EC2Find::Ec2findImage
Private Instance Methods
default_attributes()
click to toggle source
# File lib/chef/knife/ec2_find_image.rb, line 38 def default_attributes ["image_id", "image_location", "state", "public", "architecture", "image_type", "platform", "name", "description", "root_device_type", "virtualization_type", "hypervisor", "tags"] end
findby(tags)
click to toggle source
# File lib/chef/knife/ec2_find_image.rb, line 42 def findby tags ec2connect @ec2client.describe_images({dry_run: false, filters: tags}).images end