OriginProtocolPolicy

class aws_cdk.aws_cloudfront.OriginProtocolPolicy(value)

Bases: enum.Enum

Defines what protocols CloudFront will use to connect to an origin.

Attributes

HTTPS_ONLY

Connect on HTTPS only.

HTTP_ONLY

Connect on HTTP only.

MATCH_VIEWER

Connect with the same protocol as the viewer.