AlpnPolicy

class aws_cdk.aws_elasticloadbalancingv2.AlpnPolicy(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Application-Layer Protocol Negotiation Policies for network load balancers.

Which protocols should be used over a secure connection.

Attributes

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.