class EC2Find::Ec2findCgw
Private Instance Methods
default_attributes()
click to toggle source
# File lib/chef/knife/ec2_find_cgw.rb, line 38 def default_attributes ["customer_gateway_id", "state", "type", "ip_address", "bgp_asn", "tags"] end
findby(tags)
click to toggle source
# File lib/chef/knife/ec2_find_cgw.rb, line 42 def findby tags ec2connect @ec2client.describe_customer_gateways({dry_run: false, filters: tags}).customer_gateways end