AWS SDK for .NET Documentation
ViewerProtocolPolicy Property
AmazonAmazon.CloudFront.ModelCacheBehaviorViewerProtocolPolicy Did this page help you?   Yes   No    Tell us about it...
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.

Constraints:

Allowed Values
allow-all, https-only

Declaration Syntax
C#
public string ViewerProtocolPolicy { get; set; }

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.20.0 (1.5.20.0)