ViewerProtocolPolicy

class aws_cdk.aws_cloudfront.ViewerProtocolPolicy(value)

Bases: enum.Enum

(experimental) How HTTPs should be handled with your distribution.

Stability

experimental

Attributes

ALLOW_ALL

(experimental) Both HTTP and HTTPS supported.

Stability

experimental

HTTPS_ONLY

(experimental) HTTPS only.

Stability

experimental

REDIRECT_TO_HTTPS

(experimental) Will redirect HTTP requests to HTTPS.

Stability

experimental