aws-cdk-lib.aws_elasticloadbalancingv2.AlpnPolicy

enum AlpnPolicy

LanguageType name
.NETAmazon.CDK.AWS.ElasticLoadBalancingV2.AlpnPolicy
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#AlpnPolicy
Javasoftware.amazon.awscdk.services.elasticloadbalancingv2.AlpnPolicy
Pythonaws_cdk.aws_elasticloadbalancingv2.AlpnPolicy
TypeScript (source)aws-cdk-lib » aws_elasticloadbalancingv2 » AlpnPolicy

Application-Layer Protocol Negotiation Policies for network load balancers.

Which protocols should be used over a secure connection.

Members

NameDescription
HTTP1_ONLYNegotiate only HTTP/1.*. The ALPN preference list is http/1.1, http/1.0.
HTTP2_ONLYNegotiate only HTTP/2.
HTTP2_OPTIONALPrefer HTTP/1.* over HTTP/2 (which can be useful for HTTP/2 testing). The ALPN preference list is http/1.1, http/1.0, h2.
HTTP2_PREFERREDPrefer HTTP/2 over HTTP/1.*. The ALPN preference list is h2, http/1.1, http/1.0.
NONEDo not negotiate ALPN.

HTTP1_ONLY

Negotiate only HTTP/1.*. The ALPN preference list is http/1.1, http/1.0.


HTTP2_ONLY

Negotiate only HTTP/2.

The ALPN preference list is h2


HTTP2_OPTIONAL

Prefer HTTP/1.* over HTTP/2 (which can be useful for HTTP/2 testing). The ALPN preference list is http/1.1, http/1.0, h2.


HTTP2_PREFERRED

Prefer HTTP/2 over HTTP/1.*. The ALPN preference list is h2, http/1.1, http/1.0.


NONE

Do not negotiate ALPN.