C# Class Amazon.CloudFront.ViewerProtocolPolicy

Constants used for properties of type ViewerProtocolPolicy.
Inheritance: ConstantClass
Show file Open project: aws/aws-sdk-net

Public Properties

Property Type Description
AllowAll ViewerProtocolPolicy
HttpsOnly ViewerProtocolPolicy
RedirectToHttps ViewerProtocolPolicy

Public Methods

Method Description
FindValue ( string value ) : ViewerProtocolPolicy

Finds the constant for the unique value.

ViewerProtocolPolicy ( string value ) : System

This constant constructor does not need to be called if the constant you are attempting to use is already defined as a static instance of this class. This constructor should be used to construct constants that are not defined as statics, for instance if attempting to use a feature that is newer than the current version of the SDK.

Method Details

FindValue() public static method

Finds the constant for the unique value.
public static FindValue ( string value ) : ViewerProtocolPolicy
value string The unique value for the constant
return ViewerProtocolPolicy

ViewerProtocolPolicy() public method

This constant constructor does not need to be called if the constant you are attempting to use is already defined as a static instance of this class. This constructor should be used to construct constants that are not defined as statics, for instance if attempting to use a feature that is newer than the current version of the SDK.
public ViewerProtocolPolicy ( string value ) : System
value string
return System

Property Details

AllowAll public static property

Constant AllowAll for ViewerProtocolPolicy
public static ViewerProtocolPolicy,Amazon.CloudFront AllowAll
return ViewerProtocolPolicy

HttpsOnly public static property

Constant HttpsOnly for ViewerProtocolPolicy
public static ViewerProtocolPolicy,Amazon.CloudFront HttpsOnly
return ViewerProtocolPolicy

RedirectToHttps public static property

Constant RedirectToHttps for ViewerProtocolPolicy
public static ViewerProtocolPolicy,Amazon.CloudFront RedirectToHttps
return ViewerProtocolPolicy