Method: Awspec::Helper::Finder::Ec2#find_ec2_attribute
- Defined in:
- lib/awspec/helper/finder/ec2.rb
#find_ec2_attribute(id, attribute) ⇒ Object
50 51 52 53 54 |
# File 'lib/awspec/helper/finder/ec2.rb', line 50 def find_ec2_attribute(id, attribute) res = ec2_client.describe_instance_attribute({ instance_id: id, attribute: attribute }) end |