Class: Cartography::Cluster::Site::LoadBalancer

Inherits:
Object
  • Object
show all
Defined in:
lib/cartography/cluster.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ LoadBalancer

Returns a new instance of LoadBalancer.



70
71
72
73
# File 'lib/cartography/cluster.rb', line 70

def initialize(params = {})
  @name = params["Name"]
  @arn = params["arn"]
end

Instance Attribute Details

#arnObject (readonly)

Returns the value of attribute arn.



67
68
69
# File 'lib/cartography/cluster.rb', line 67

def arn
  @arn
end

#nameObject (readonly)

Returns the value of attribute name.



67
68
69
# File 'lib/cartography/cluster.rb', line 67

def name
  @name
end