Class: AWS::ELB::Listener
- Inherits:
-
Object
- Object
- AWS::ELB::Listener
- Defined in:
- lib/kelbim/ext/elb-listener-ext.rb
Instance Method Summary collapse
- #policies ⇒ Object
- #policy_names ⇒ Object
- #ssl_certificate_id ⇒ Object
- #ssl_certificate_id=(arn) ⇒ Object
Instance Method Details
#policies ⇒ Object
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_names ⇒ Object
6 7 8 |
# File 'lib/kelbim/ext/elb-listener-ext.rb', line 6 def policy_names _description[:policy_names] end |
#ssl_certificate_id ⇒ Object
20 21 22 |
# File 'lib/kelbim/ext/elb-listener-ext.rb', line 20 def ssl_certificate_id _description[:listener][:ssl_certificate_id] end |
#ssl_certificate_id=(arn) ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/kelbim/ext/elb-listener-ext.rb', line 24 def ssl_certificate_id=(arn) client.set_load_balancer_listener_ssl_certificate( :load_balancer_name => load_balancer.name, :load_balancer_port => port, :ssl_certificate_id => arn) nil end |