class AWS::ELB::LoadBalancer

Public Instance Methods

tags() click to toggle source
# File lib/aws-elb-loadbalancer.rb, line 7
def tags
  client = AWS::ELB::Client.new
  client.describe_tags(load_balancer_names: [name]).tag_descriptions.first.tags.inject({}) { |hash, (k,v)| hash[k[:key]] = k[:value]; hash }
end