Gets and sets the property ViewerProtocolPolicy. Use this element to specify the protocol
that users can use to access the files in the origin specified by TargetOriginId
when a request matches the path pattern in PathPattern. If you want CloudFront
to allow end users to use any available protocol, specify allow-all. If you want
CloudFront to require HTTPS, specify https. If you want CloudFront to respond
to an HTTP request with an HTTP status code of 301 (Moved Permanently) and the
HTTPS URL, specify redirect-to-https. The viewer then resubmits the request using
the HTTPS URL.

C# |
public string ViewerProtocolPolicy { get; set; }