Class: AWS::ElasticLoadBalancingV2::LoadBalancer

Inherits:
ModelElement
  • Object
show all
Defined in:
lib/cfn-model/model/load_balancer.rb

Instance Attribute Summary collapse

Attributes inherited from ModelElement

#logical_resource_id, #resource_type

Instance Method Summary collapse

Methods inherited from ModelElement

#==, #to_s

Constructor Details

#initializeLoadBalancer

Returns a new instance of LoadBalancer.



29
30
31
32
33
34
35
36
# File 'lib/cfn-model/model/load_balancer.rb', line 29

def initialize
  @securityGroups = []
  @security_groups = []
  @loadBalancerAttributes = []
  @subnets = []
  @tags = []
  @resource_type = 'AWS::ElasticLoadBalancingV2::LoadBalancer'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ModelElement

Instance Attribute Details

#ipAddressTypeObject

Returns the value of attribute ipAddressType.



25
26
27
# File 'lib/cfn-model/model/load_balancer.rb', line 25

def ipAddressType
  @ipAddressType
end

#loadBalancerAttributesObject

Returns the value of attribute loadBalancerAttributes.



25
26
27
# File 'lib/cfn-model/model/load_balancer.rb', line 25

def loadBalancerAttributes
  @loadBalancerAttributes
end

#nameObject

Returns the value of attribute name.



25
26
27
# File 'lib/cfn-model/model/load_balancer.rb', line 25

def name
  @name
end

#schemeObject

Returns the value of attribute scheme.



25
26
27
# File 'lib/cfn-model/model/load_balancer.rb', line 25

def scheme
  @scheme
end

#security_groupsObject

Returns the value of attribute security_groups.



27
28
29
# File 'lib/cfn-model/model/load_balancer.rb', line 27

def security_groups
  @security_groups
end

#securityGroupsObject

Returns the value of attribute securityGroups.



25
26
27
# File 'lib/cfn-model/model/load_balancer.rb', line 25

def securityGroups
  @securityGroups
end

#subnetsObject

Returns the value of attribute subnets.



25
26
27
# File 'lib/cfn-model/model/load_balancer.rb', line 25

def subnets
  @subnets
end

#tagsObject

Returns the value of attribute tags.



25
26
27
# File 'lib/cfn-model/model/load_balancer.rb', line 25

def tags
  @tags
end