Class: Maestro::Node::Aws::Elb

Inherits:
Base
  • Object
show all
Defined in:
lib/maestro/cloud/aws.rb

Overview

Amazon ELB Node

Instance Attribute Summary collapse

Attributes inherited from Base

#cloud, #hostname, #ip_address, #log_file, #logger, #name

Attributes included from Validator

#valid, #validation_errors

Instance Method Summary collapse

Methods inherited from Base

#disable_stdout, #enable_stdout, #method_missing

Methods included from Validator

#invalidate, #valid?, #validate

Constructor Details

#initialize(name, cloud, &block) ⇒ Elb

Returns a new instance of Elb.



1068
1069
1070
1071
# File 'lib/maestro/cloud/aws.rb', line 1068

def initialize(name, cloud, &block)
  super(name, cloud, &block)
  @load_balancer_name = set_load_balancer_name
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Maestro::Node::Base

Instance Attribute Details

#load_balancer_nameObject (readonly)

The load balancer name of this node



1065
1066
1067
# File 'lib/maestro/cloud/aws.rb', line 1065

def load_balancer_name
  @load_balancer_name
end