Class: Chef::Knife::ElbHealthCheck

Inherits:
Chef::Knife show all
Includes:
ElbBase
Defined in:
lib/chef/knife/elb_health_check.rb

Constant Summary collapse

PROTOCOLS =
%w(HTTP HTTPS TCP SSL)

Instance Method Summary collapse

Methods included from ElbBase

included

Instance Method Details

#runObject



58
59
60
61
62
63
64
# File 'lib/chef/knife/elb_health_check.rb', line 58

def run
  validate!

  response = connection.configure_health_check(@name_args.first, build_health_check(config))

  ui.output(Chef::JSONCompat.from_json(response.data[:body].to_json))
end