Class: AWS::ELB::Listener

Inherits:
Object
  • Object
show all
Defined in:
lib/kelbim/ext/elb-listener-ext.rb

Instance Method Summary collapse

Instance Method Details

#policiesObject



10
11
12
13
14
15
16
17
18
# File 'lib/kelbim/ext/elb-listener-ext.rb', line 10

def policies
  if AWS.memoizing? and @policy_list
    return @policy_list
  end

  @policy_list = policy_names.map do |name|
    load_balancer.policies.find {|i| i.name == name }
  end
end

#policy_namesObject



6
7
8
# File 'lib/kelbim/ext/elb-listener-ext.rb', line 6

def policy_names
  _description[:policy_names]
end