Show / Hide Table of Contents

Enum HttpVersion

Maximum HTTP version to support.

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum HttpVersion
Syntax (vb)
Public Enum HttpVersion
Remarks

ExampleMetadata: infused

Examples
// Configure a distribution to use HTTP/2 and HTTP/3
            // Configure a distribution to use HTTP/2 and HTTP/3
            new Distribution(this, "myDist", new DistributionProps {
                DefaultBehavior = new BehaviorOptions { Origin = new HttpOrigin("www.example.com") },
                HttpVersion = HttpVersion.HTTP2_AND_3
            });

Synopsis

Fields

HTTP1_1

HTTP 1.1.

HTTP2

HTTP 2.

HTTP2_AND_3

HTTP 2 and HTTP 3.

HTTP3

HTTP 3.

Fields

Name Description
HTTP1_1

HTTP 1.1.

HTTP2

HTTP 2.

HTTP2_AND_3

HTTP 2 and HTTP 3.

HTTP3

HTTP 3.

Back to top Generated by DocFX