Show / Hide Table of Contents

Enum SecurityPolicyProtocol

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

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

CloudFront serves your objects only to browsers or devices that support at least the SSL version that you specify.

ExampleMetadata: lit=aws-cloudfront/test/example.iam-cert-alias.lit.ts infused

Examples
var s3BucketSource = new Bucket(this, "Bucket");

             var distribution = new CloudFrontWebDistribution(this, "AnAmazingWebsiteProbably", new CloudFrontWebDistributionProps {
                 OriginConfigs = new [] { new SourceConfiguration {
                     S3OriginSource = new S3OriginConfig { S3BucketSource = s3BucketSource },
                     Behaviors = new [] { new Behavior { IsDefaultBehavior = true } }
                 } },
                 ViewerCertificate = ViewerCertificate.FromIamCertificate("certificateId", new ViewerCertificateOptions {
                     Aliases = new [] { "example.com" },
                     SecurityPolicy = SecurityPolicyProtocol.SSL_V3,  // default
                     SslMethod = SSLMethod.SNI
                 })
             });

Synopsis

Fields

SSL_V3

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_1_2016

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_2016

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_2_2018

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_2_2019

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_2_2021

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_2_2025

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_3_2025

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

Fields

Name Description
SSL_V3

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_1_2016

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_2016

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_2_2018

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_2_2019

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_2_2021

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_2_2025

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

TLS_V1_3_2025

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

Back to top Generated by DocFX