Class: Convection::Model::Template::Resource::ELBV2Listener

Inherits:
Convection::Model::Template::Resource show all
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

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

#condition, #render_condition

Methods included from DSL::Template::Resource

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, #join, #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

#certificatesObject #certificates(value) ⇒ Object

Overloads:

  • #certificatesObject

    Returns the value of the ‘Certificates’ CloudFormation property.

  • #certificates(value) ⇒ Object

    Sets the ‘Certificates’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘Certificates’ CloudFormation property to.



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_actionsObject #default_actions(value) ⇒ Object

Overloads:

  • #default_actionsObject

    Returns the value of the ‘DefaultActions’ CloudFormation property.

  • #default_actions(value) ⇒ Object

    Sets the ‘DefaultActions’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘DefaultActions’ CloudFormation property to.



13
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 13

property :default_actions, 'DefaultActions', :type => :list

#load_balancer_arnObject #load_balancer_arn(value) ⇒ Object

Overloads:

  • #load_balancer_arnObject

    Returns the value of the ‘LoadBalancerArn’ CloudFormation property.

  • #load_balancer_arn(value) ⇒ Object

    Sets the ‘LoadBalancerArn’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘LoadBalancerArn’ CloudFormation property to.



14
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 14

property :load_balancer_arn, 'LoadBalancerArn'

#portObject #port(value) ⇒ Object

Overloads:

  • #portObject

    Returns the value of the ‘Port’ CloudFormation property.

  • #port(value) ⇒ Object

    Sets the ‘Port’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘Port’ CloudFormation property to.



15
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 15

property :port, 'Port'

#protocolObject #protocol(value) ⇒ Object

Overloads:

  • #protocolObject

    Returns the value of the ‘Protocol’ CloudFormation property.

  • #protocol(value) ⇒ Object

    Sets the ‘Protocol’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘Protocol’ CloudFormation property to.



16
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 16

property :protocol, 'Protocol'

#ssl_policyObject #ssl_policy(value) ⇒ Object

Overloads:

  • #ssl_policyObject

    Returns the value of the ‘SslPolicy’ CloudFormation property.

  • #ssl_policy(value) ⇒ Object

    Sets the ‘SslPolicy’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘SslPolicy’ CloudFormation property to.



17
# File 'lib/convection/model/template/resource/aws_elbv2_listener.rb', line 17

property :ssl_policy, 'SslPolicy'