Class: Convection::Model::Template::Resource::ELBV2Listener
- Inherits:
-
Convection::Model::Template::Resource
- Object
- Convection::Model::Template::Resource
- Convection::Model::Template::Resource::ELBV2Listener
- Defined in:
- lib/convection/model/template/resource/aws_elbv2_listener.rb
Overview
AWS::ElasticLoadBalancingV2::Listener
Instance Attribute Summary
Attributes inherited from Convection::Model::Template::Resource
#exist, #name, #parent, #properties, #resource_attributes, #template
Instance Method Summary collapse
- #certificate(&block) ⇒ Object
- #certificates(value) ⇒ Object
-
#default_action(&block) ⇒ Object
Append an action to default_actions.
- #default_actions(value) ⇒ Object
- #load_balancer_arn(value) ⇒ Object
- #port(value) ⇒ Object
- #protocol(value) ⇒ Object
- #ssl_policy(value) ⇒ Object
Methods inherited from Convection::Model::Template::Resource
#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, property, #property, #reference, #render, 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
#certificate(&block) ⇒ Object
19 20 21 22 23 |
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 19 def certificate(&block) cert = ResourceProperty::ELBV2ListenerCertificates.new(self) cert.instance_exec(&block) if block certificates << cert end |
#certificates ⇒ Object #certificates(value) ⇒ Object
12 |
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 12 property :certificates, 'Certificates', :type => :list |
#default_action(&block) ⇒ Object
Append an action to default_actions
26 27 28 29 30 |
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 26 def default_action(&block) action = ResourceProperty::ELBV2ListenerDefaultAction.new(self) action.instance_exec(&block) if block default_actions << action end |
#default_actions ⇒ Object #default_actions(value) ⇒ Object
13 |
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 13 property :default_actions, 'DefaultActions', :type => :list |
#load_balancer_arn ⇒ Object #load_balancer_arn(value) ⇒ Object
14 |
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 14 property :load_balancer_arn, 'LoadBalancerArn' |
#port ⇒ Object #port(value) ⇒ Object
15 |
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 15 property :port, 'Port' |
#protocol ⇒ Object #protocol(value) ⇒ Object
16 |
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 16 property :protocol, 'Protocol' |
#ssl_policy ⇒ Object #ssl_policy(value) ⇒ Object
17 |
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 17 property :ssl_policy, 'SslPolicy' |