Sha256: 09723e4b3955dc93f0e1b5ffef4bd1604f2699f45fd8ff0d4c33333fac9bcb72

Contents?: true

Size: 1.08 KB

Versions: 57

Compression:

Stored size: 1.08 KB

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::ElasticLoadBalancingV2::Listener
        ##
        class ELBV2Listener < Resource
          type 'AWS::ElasticLoadBalancingV2::Listener', :elbv2_listener
          property :certificates, 'Certificates', :type => :list
          property :default_actions, 'DefaultActions', :type => :list
          property :load_balancer_arn, 'LoadBalancerArn'
          property :port, 'Port'
          property :protocol, 'Protocol'
          property :ssl_policy, 'SslPolicy'

          def certificate(&block)
            cert = ResourceProperty::ELBV2ListenerCertificates.new(self)
            cert.instance_exec(&block) if block
            certificates << cert
          end

          # Append an action to default_actions
          def default_action(&block)
            action = ResourceProperty::ELBV2ListenerDefaultAction.new(self)
            action.instance_exec(&block) if block
            default_actions << action
          end
        end
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
convection-2.3.1 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.3.0 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.29 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.28.pre.beta.2 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.28.pre.beta.1 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.27 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.26 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.25 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.24 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.23 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.22 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.21 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.20 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.19 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.18 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.17 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.16 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.15 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.14 lib/convection/model/template/resource/aws_elbv2_listener.rb
convection-2.2.13 lib/convection/model/template/resource/aws_elbv2_listener.rb