Class: Aws::ElasticLoadBalancingV2::Types::CreateListenerInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alpn_policyArray<String>

[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:

  • HTTP1Only

  • HTTP2Only

  • HTTP2Optional

  • HTTP2Preferred

  • None

For more information, see ALPN policies in the Network Load Balancers Guide.

Returns:

  • (Array<String>)


593
594
595
596
597
598
599
600
601
602
603
604
605
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 593

class CreateListenerInput < Struct.new(
  :load_balancer_arn,
  :protocol,
  :port,
  :ssl_policy,
  :certificates,
  :default_actions,
  :alpn_policy,
  :tags,
  :mutual_authentication)
  SENSITIVE = []
  include Aws::Structure
end

#certificatesArray<Types::Certificate>

[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.

Returns:



593
594
595
596
597
598
599
600
601
602
603
604
605
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 593

class CreateListenerInput < Struct.new(
  :load_balancer_arn,
  :protocol,
  :port,
  :ssl_policy,
  :certificates,
  :default_actions,
  :alpn_policy,
  :tags,
  :mutual_authentication)
  SENSITIVE = []
  include Aws::Structure
end

#default_actionsArray<Types::Action>

The actions for the default rule.

Returns:



593
594
595
596
597
598
599
600
601
602
603
604
605
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 593

class CreateListenerInput < Struct.new(
  :load_balancer_arn,
  :protocol,
  :port,
  :ssl_policy,
  :certificates,
  :default_actions,
  :alpn_policy,
  :tags,
  :mutual_authentication)
  SENSITIVE = []
  include Aws::Structure
end

#load_balancer_arnString

The Amazon Resource Name (ARN) of the load balancer.

Returns:

  • (String)


593
594
595
596
597
598
599
600
601
602
603
604
605
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 593

class CreateListenerInput < Struct.new(
  :load_balancer_arn,
  :protocol,
  :port,
  :ssl_policy,
  :certificates,
  :default_actions,
  :alpn_policy,
  :tags,
  :mutual_authentication)
  SENSITIVE = []
  include Aws::Structure
end

#mutual_authenticationTypes::MutualAuthenticationAttributes

The mutual authentication configuration information.



593
594
595
596
597
598
599
600
601
602
603
604
605
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 593

class CreateListenerInput < Struct.new(
  :load_balancer_arn,
  :protocol,
  :port,
  :ssl_policy,
  :certificates,
  :default_actions,
  :alpn_policy,
  :tags,
  :mutual_authentication)
  SENSITIVE = []
  include Aws::Structure
end

#portInteger

The port on which the load balancer is listening. You can't specify a port for a Gateway Load Balancer.

Returns:

  • (Integer)


593
594
595
596
597
598
599
600
601
602
603
604
605
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 593

class CreateListenerInput < Struct.new(
  :load_balancer_arn,
  :protocol,
  :port,
  :ssl_policy,
  :certificates,
  :default_actions,
  :alpn_policy,
  :tags,
  :mutual_authentication)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.

Returns:

  • (String)


593
594
595
596
597
598
599
600
601
602
603
604
605
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 593

class CreateListenerInput < Struct.new(
  :load_balancer_arn,
  :protocol,
  :port,
  :ssl_policy,
  :certificates,
  :default_actions,
  :alpn_policy,
  :tags,
  :mutual_authentication)
  SENSITIVE = []
  include Aws::Structure
end

#ssl_policyString

[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.

For more information, see Security policies in the Application Load Balancers Guide and Security policies in the Network Load Balancers Guide.

Returns:

  • (String)


593
594
595
596
597
598
599
600
601
602
603
604
605
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 593

class CreateListenerInput < Struct.new(
  :load_balancer_arn,
  :protocol,
  :port,
  :ssl_policy,
  :certificates,
  :default_actions,
  :alpn_policy,
  :tags,
  :mutual_authentication)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to assign to the listener.

Returns:



593
594
595
596
597
598
599
600
601
602
603
604
605
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 593

class CreateListenerInput < Struct.new(
  :load_balancer_arn,
  :protocol,
  :port,
  :ssl_policy,
  :certificates,
  :default_actions,
  :alpn_policy,
  :tags,
  :mutual_authentication)
  SENSITIVE = []
  include Aws::Structure
end