Method: Awspec::Helper::Finder::Elb#find_elb_attribute

Defined in:
lib/awspec/helper/finder/elb.rb

#find_elb_attribute(id) ⇒ Object



15
16
17
18
19
20
21
22
# File 'lib/awspec/helper/finder/elb.rb', line 15

def find_elb_attribute(id)
  res = elb_client.describe_load_balancer_attributes({
                                                       load_balancer_name: id
                                                     })
  res.load_balancer_attributes
rescue StandardError
  nil
end