elbv2_create_listener: Creates a listener for the specified Application Load...

View source: R/elbv2_operations.R

elbv2_create_listenerR Documentation

Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer

Description

Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

See https://www.paws-r-sdk.com/docs/elbv2_create_listener/ for full documentation.

Usage

elbv2_create_listener(
  LoadBalancerArn,
  Protocol = NULL,
  Port = NULL,
  SslPolicy = NULL,
  Certificates = NULL,
  DefaultActions,
  AlpnPolicy = NULL,
  Tags = NULL,
  MutualAuthentication = NULL
)

Arguments

LoadBalancerArn

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

Protocol

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 cannot specify a protocol for a Gateway Load Balancer.

Port

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

SslPolicy

[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.

Certificates

[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.

DefaultActions

[required] The actions for the default rule.

AlpnPolicy

[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.

Tags

The tags to assign to the listener.

MutualAuthentication

The mutual authentication configuration information.


paws.networking documentation built on Sept. 12, 2024, 7:32 a.m.