Class: Convection::Model::Template::Resource::ELBV2LoadBalancer
- Inherits:
-
Convection::Model::Template::Resource
- Object
- Convection::Model::Template::Resource
- Convection::Model::Template::Resource::ELBV2LoadBalancer
- Includes:
- Mixin::Taggable
- Defined in:
- lib/convection/model/template/resource/aws_elbv2_load_balancer.rb
Overview
AWS::ElasticLoadBalancingV2::LoadBalancer
Instance Attribute Summary
Attributes inherited from Convection::Model::Template::Resource
#exist, #parent, #properties, #resource_attributes, #template
Instance Method Summary collapse
-
#load_balancer_attribute(&block) ⇒ Object
Append a load_balancer_attribute to load_balancer_attributes.
- #load_balancer_attributes(value) ⇒ Object
- #name(value) ⇒ Object
- #render(*args) ⇒ Object
- #scheme(value) ⇒ Object
- #security_group(value) ⇒ Object (also: #security_groups)
- #subnet(value) ⇒ Object (also: #subnets)
Methods included from Mixin::Taggable
#immutable_metadata, #render_tags, #tag, #tags
Methods inherited from Convection::Model::Template::Resource
#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, property, #property, #reference, type, #type, #with_output
Methods included from Mixin::Conditional
Methods included from DSL::Template::Resource
#_terraform_module_dir_to_flag, #_terraform_module_flag_to_dir, attach_resource, attach_resource_collection, resource_collection_dsl_methods, resource_dsl_methods
Methods included from DSL::Helpers
#camel_case, included, method_name, #screaming_snake_case, #snake_case
Methods included from DSL::IntrinsicFunctions
#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_import_value, #fn_not, #fn_or, #fn_ref, #fn_sub, #get_att, #get_azs, included, #join, mixers, #select
Constructor Details
This class inherits a constructor from Convection::Model::Template::Resource
Instance Method Details
#load_balancer_attribute(&block) ⇒ Object
Append a load_balancer_attribute to load_balancer_attributes
23 24 25 26 27 |
# File 'lib/convection/model/template/resource/aws_elbv2_load_balancer.rb', line 23 def load_balancer_attribute(&block) attribute = ResourceProperty::ELBV2LoadBalancerAttribute.new(self) attribute.instance_exec(&block) if block load_balancer_attributes << attribute end |
#load_balancer_attributes ⇒ Object #load_balancer_attributes(value) ⇒ Object
14 |
# File 'lib/convection/model/template/resource/aws_elbv2_load_balancer.rb', line 14 property :load_balancer_attributes, 'LoadBalancerAttributes', :type => :list |
#name ⇒ Object #name(value) ⇒ Object
15 |
# File 'lib/convection/model/template/resource/aws_elbv2_load_balancer.rb', line 15 property :name, 'Name' |
#render(*args) ⇒ Object
29 30 31 32 33 |
# File 'lib/convection/model/template/resource/aws_elbv2_load_balancer.rb', line 29 def render(*args) super.tap do |resource| (resource) end end |
#scheme ⇒ Object #scheme(value) ⇒ Object
16 |
# File 'lib/convection/model/template/resource/aws_elbv2_load_balancer.rb', line 16 property :scheme, 'Scheme' |
#security_group ⇒ Object #security_group(value) ⇒ Object Also known as: security_groups
17 |
# File 'lib/convection/model/template/resource/aws_elbv2_load_balancer.rb', line 17 property :security_group, 'SecurityGroups', :type => :list |
#subnet ⇒ Object #subnet(value) ⇒ Object Also known as: subnets
19 |
# File 'lib/convection/model/template/resource/aws_elbv2_load_balancer.rb', line 19 property :subnet, 'Subnets', :type => :list |