class EC2Find::Ec2findIgw
Private Instance Methods
default_attributes()
click to toggle source
# File lib/chef/knife/ec2_find_igw.rb, line 38 def default_attributes ["internet_gateway_id", "attachments", "tags"] end
findby(tags)
click to toggle source
# File lib/chef/knife/ec2_find_igw.rb, line 42 def findby tags ec2connect @ec2client.describe_internet_gateways({dry_run: false, filters: tags}).internet_gateways end