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.
elbv2_create_listener(
LoadBalancerArn,
Protocol = NULL,
Port = NULL,
SslPolicy = NULL,
Certificates = NULL,
DefaultActions,
AlpnPolicy = NULL,
Tags = NULL,
MutualAuthentication = NULL
)
[required] The Amazon Resource Name (ARN) of the load balancer.
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.
The port on which the load balancer is listening. You cannot specify a port for a Gateway Load Balancer.
[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.
[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
.
[required] The actions for the default rule.
[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.
The tags to assign to the listener.
The mutual authentication configuration information.