enum AlpnPolicy
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElasticLoadBalancingV2.AlpnPolicy |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#AlpnPolicy |
![]() | software.amazon.awscdk.services.elasticloadbalancingv2.AlpnPolicy |
![]() | aws_cdk.aws_elasticloadbalancingv2.AlpnPolicy |
![]() | 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
Name | Description |
---|---|
HTTP1_ONLY | Negotiate only HTTP/1.*. The ALPN preference list is http/1.1, http/1.0. |
HTTP2_ONLY | Negotiate only HTTP/2. |
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. |
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.