Class: AWS::ElasticLoadBalancingV2::LoadBalancer
- Inherits:
-
ModelElement
- Object
- ModelElement
- AWS::ElasticLoadBalancingV2::LoadBalancer
- Defined in:
- lib/cfn-model/model/load_balancer.rb
Instance Attribute Summary collapse
-
#security_groups ⇒ Object
Returns the value of attribute security_groups.
Attributes inherited from ModelElement
#logical_resource_id, #metadata, #resource_type
Instance Method Summary collapse
-
#initialize(cfn_model) ⇒ LoadBalancer
constructor
A new instance of LoadBalancer.
Methods inherited from ModelElement
Constructor Details
#initialize(cfn_model) ⇒ LoadBalancer
Returns a new instance of LoadBalancer.
27 28 29 30 31 32 33 34 35 |
# File 'lib/cfn-model/model/load_balancer.rb', line 27 def initialize(cfn_model) super @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
#security_groups ⇒ Object
Returns the value of attribute security_groups.
25 26 27 |
# File 'lib/cfn-model/model/load_balancer.rb', line 25 def security_groups @security_groups end |