ViewerProtocolPolicy

class aws_cdk.aws_cloudfront.ViewerProtocolPolicy(value)

Bases: enum.Enum

How HTTPs should be handled with your distribution.

stability :stability: experimental

Attributes

ALLOW_ALL

Both HTTP and HTTPS supported.

stability :stability: experimental

HTTPS_ONLY

HTTPS only.

stability :stability: experimental

REDIRECT_TO_HTTPS

Will redirect HTTP requests to HTTPS.

stability :stability: experimental