View source: R/elbv2_operations.R
elbv2_create_listener | R Documentation |
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
)
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 |
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:
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.