Class: Chef::Provider::AwsLoadBalancer
- Inherits:
-
Chef::Provisioning::AWSDriver::AWSProvider
- Object
- LWRPBase
- Chef::Provisioning::AWSDriver::AWSProvider
- Chef::Provider::AwsLoadBalancer
- Defined in:
- lib/chef/provider/aws_load_balancer.rb
Constant Summary
Constants inherited from Chef::Provisioning::AWSDriver::AWSProvider
Chef::Provisioning::AWSDriver::AWSProvider::AWSResource
Instance Attribute Summary
Attributes inherited from Chef::Provisioning::AWSDriver::AWSProvider
Instance Method Summary collapse
Methods inherited from Chef::Provisioning::AWSDriver::AWSProvider
#action_handler, #converge_by, #region, #whyrun_supported?
Instance Method Details
#aws_tagger ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/chef/provider/aws_load_balancer.rb', line 5 def aws_tagger @aws_tagger ||= begin elb_strategy = Chef::Provisioning::AWSDriver::TaggingStrategy::ELB.new( new_resource.driver.elb_client, new_resource.name, new_resource. ) Chef::Provisioning::AWSDriver::AWSTagger.new(elb_strategy, action_handler) end end |
#converge_tags ⇒ Object
16 17 18 |
# File 'lib/chef/provider/aws_load_balancer.rb', line 16 def aws_tagger. end |
#destroy_aws_object(load_balancer) ⇒ Object
22 23 24 25 26 |
# File 'lib/chef/provider/aws_load_balancer.rb', line 22 def destroy_aws_object(load_balancer) converge_by "delete load balancer #{new_resource.name} (#{load_balancer.name}) in #{region}" do load_balancer.delete end end |