/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.CloudFront
{
///
/// Constants used for properties of type CachePolicyCookieBehavior.
///
public class CachePolicyCookieBehavior : ConstantClass
{
///
/// Constant All for CachePolicyCookieBehavior
///
public static readonly CachePolicyCookieBehavior All = new CachePolicyCookieBehavior("all");
///
/// Constant AllExcept for CachePolicyCookieBehavior
///
public static readonly CachePolicyCookieBehavior AllExcept = new CachePolicyCookieBehavior("allExcept");
///
/// Constant None for CachePolicyCookieBehavior
///
public static readonly CachePolicyCookieBehavior None = new CachePolicyCookieBehavior("none");
///
/// Constant Whitelist for CachePolicyCookieBehavior
///
public static readonly CachePolicyCookieBehavior Whitelist = new CachePolicyCookieBehavior("whitelist");
///
/// 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 CachePolicyCookieBehavior(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static CachePolicyCookieBehavior FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator CachePolicyCookieBehavior(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CachePolicyHeaderBehavior.
///
public class CachePolicyHeaderBehavior : ConstantClass
{
///
/// Constant None for CachePolicyHeaderBehavior
///
public static readonly CachePolicyHeaderBehavior None = new CachePolicyHeaderBehavior("none");
///
/// Constant Whitelist for CachePolicyHeaderBehavior
///
public static readonly CachePolicyHeaderBehavior Whitelist = new CachePolicyHeaderBehavior("whitelist");
///
/// 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 CachePolicyHeaderBehavior(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static CachePolicyHeaderBehavior FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator CachePolicyHeaderBehavior(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CachePolicyQueryStringBehavior.
///
public class CachePolicyQueryStringBehavior : ConstantClass
{
///
/// Constant All for CachePolicyQueryStringBehavior
///
public static readonly CachePolicyQueryStringBehavior All = new CachePolicyQueryStringBehavior("all");
///
/// Constant AllExcept for CachePolicyQueryStringBehavior
///
public static readonly CachePolicyQueryStringBehavior AllExcept = new CachePolicyQueryStringBehavior("allExcept");
///
/// Constant None for CachePolicyQueryStringBehavior
///
public static readonly CachePolicyQueryStringBehavior None = new CachePolicyQueryStringBehavior("none");
///
/// Constant Whitelist for CachePolicyQueryStringBehavior
///
public static readonly CachePolicyQueryStringBehavior Whitelist = new CachePolicyQueryStringBehavior("whitelist");
///
/// 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 CachePolicyQueryStringBehavior(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static CachePolicyQueryStringBehavior FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator CachePolicyQueryStringBehavior(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CachePolicyType.
///
public class CachePolicyType : ConstantClass
{
///
/// Constant Custom for CachePolicyType
///
public static readonly CachePolicyType Custom = new CachePolicyType("custom");
///
/// Constant Managed for CachePolicyType
///
public static readonly CachePolicyType Managed = new CachePolicyType("managed");
///
/// 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 CachePolicyType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static CachePolicyType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator CachePolicyType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CertificateSource.
///
public class CertificateSource : ConstantClass
{
///
/// Constant Acm for CertificateSource
///
public static readonly CertificateSource Acm = new CertificateSource("acm");
///
/// Constant Cloudfront for CertificateSource
///
public static readonly CertificateSource Cloudfront = new CertificateSource("cloudfront");
///
/// Constant Iam for CertificateSource
///
public static readonly CertificateSource Iam = new CertificateSource("iam");
///
/// 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 CertificateSource(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static CertificateSource FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator CertificateSource(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ContinuousDeploymentPolicyType.
///
public class ContinuousDeploymentPolicyType : ConstantClass
{
///
/// Constant SingleHeader for ContinuousDeploymentPolicyType
///
public static readonly ContinuousDeploymentPolicyType SingleHeader = new ContinuousDeploymentPolicyType("SingleHeader");
///
/// Constant SingleWeight for ContinuousDeploymentPolicyType
///
public static readonly ContinuousDeploymentPolicyType SingleWeight = new ContinuousDeploymentPolicyType("SingleWeight");
///
/// 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 ContinuousDeploymentPolicyType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ContinuousDeploymentPolicyType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ContinuousDeploymentPolicyType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EventType.
///
public class EventType : ConstantClass
{
///
/// Constant OriginRequest for EventType
///
public static readonly EventType OriginRequest = new EventType("origin-request");
///
/// Constant OriginResponse for EventType
///
public static readonly EventType OriginResponse = new EventType("origin-response");
///
/// Constant ViewerRequest for EventType
///
public static readonly EventType ViewerRequest = new EventType("viewer-request");
///
/// Constant ViewerResponse for EventType
///
public static readonly EventType ViewerResponse = new EventType("viewer-response");
///
/// 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 EventType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static EventType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator EventType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Format.
///
public class Format : ConstantClass
{
///
/// Constant URLEncoded for Format
///
public static readonly Format URLEncoded = new Format("URLEncoded");
///
/// 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 Format(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static Format FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator Format(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FrameOptionsList.
///
public class FrameOptionsList : ConstantClass
{
///
/// Constant DENY for FrameOptionsList
///
public static readonly FrameOptionsList DENY = new FrameOptionsList("DENY");
///
/// Constant SAMEORIGIN for FrameOptionsList
///
public static readonly FrameOptionsList SAMEORIGIN = new FrameOptionsList("SAMEORIGIN");
///
/// 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 FrameOptionsList(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static FrameOptionsList FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator FrameOptionsList(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FunctionRuntime.
///
public class FunctionRuntime : ConstantClass
{
///
/// Constant CloudfrontJs10 for FunctionRuntime
///
public static readonly FunctionRuntime CloudfrontJs10 = new FunctionRuntime("cloudfront-js-1.0");
///
/// Constant CloudfrontJs20 for FunctionRuntime
///
public static readonly FunctionRuntime CloudfrontJs20 = new FunctionRuntime("cloudfront-js-2.0");
///
/// 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 FunctionRuntime(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static FunctionRuntime FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator FunctionRuntime(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FunctionStage.
///
public class FunctionStage : ConstantClass
{
///
/// Constant DEVELOPMENT for FunctionStage
///
public static readonly FunctionStage DEVELOPMENT = new FunctionStage("DEVELOPMENT");
///
/// Constant LIVE for FunctionStage
///
public static readonly FunctionStage LIVE = new FunctionStage("LIVE");
///
/// 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 FunctionStage(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static FunctionStage FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator FunctionStage(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type GeoRestrictionType.
///
public class GeoRestrictionType : ConstantClass
{
///
/// Constant Blacklist for GeoRestrictionType
///
public static readonly GeoRestrictionType Blacklist = new GeoRestrictionType("blacklist");
///
/// Constant None for GeoRestrictionType
///
public static readonly GeoRestrictionType None = new GeoRestrictionType("none");
///
/// Constant Whitelist for GeoRestrictionType
///
public static readonly GeoRestrictionType Whitelist = new GeoRestrictionType("whitelist");
///
/// 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 GeoRestrictionType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static GeoRestrictionType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator GeoRestrictionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HttpVersion.
///
public class HttpVersion : ConstantClass
{
///
/// Constant Http11 for HttpVersion
///
public static readonly HttpVersion Http11 = new HttpVersion("http1.1");
///
/// Constant Http2 for HttpVersion
///
public static readonly HttpVersion Http2 = new HttpVersion("http2");
///
/// Constant Http2and3 for HttpVersion
///
public static readonly HttpVersion Http2and3 = new HttpVersion("http2and3");
///
/// Constant Http3 for HttpVersion
///
public static readonly HttpVersion Http3 = new HttpVersion("http3");
///
/// 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 HttpVersion(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static HttpVersion FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator HttpVersion(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ICPRecordalStatus.
///
public class ICPRecordalStatus : ConstantClass
{
///
/// Constant APPROVED for ICPRecordalStatus
///
public static readonly ICPRecordalStatus APPROVED = new ICPRecordalStatus("APPROVED");
///
/// Constant PENDING for ICPRecordalStatus
///
public static readonly ICPRecordalStatus PENDING = new ICPRecordalStatus("PENDING");
///
/// Constant SUSPENDED for ICPRecordalStatus
///
public static readonly ICPRecordalStatus SUSPENDED = new ICPRecordalStatus("SUSPENDED");
///
/// 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 ICPRecordalStatus(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ICPRecordalStatus FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ICPRecordalStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ItemSelection.
///
public class ItemSelection : ConstantClass
{
///
/// Constant All for ItemSelection
///
public static readonly ItemSelection All = new ItemSelection("all");
///
/// Constant None for ItemSelection
///
public static readonly ItemSelection None = new ItemSelection("none");
///
/// Constant Whitelist for ItemSelection
///
public static readonly ItemSelection Whitelist = new ItemSelection("whitelist");
///
/// 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 ItemSelection(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ItemSelection FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ItemSelection(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Method.
///
public class Method : ConstantClass
{
///
/// Constant DELETE for Method
///
public static readonly Method DELETE = new Method("DELETE");
///
/// Constant GET for Method
///
public static readonly Method GET = new Method("GET");
///
/// Constant HEAD for Method
///
public static readonly Method HEAD = new Method("HEAD");
///
/// Constant OPTIONS for Method
///
public static readonly Method OPTIONS = new Method("OPTIONS");
///
/// Constant PATCH for Method
///
public static readonly Method PATCH = new Method("PATCH");
///
/// Constant POST for Method
///
public static readonly Method POST = new Method("POST");
///
/// Constant PUT for Method
///
public static readonly Method PUT = new Method("PUT");
///
/// 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 Method(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static Method FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator Method(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MinimumProtocolVersion.
///
public class MinimumProtocolVersion : ConstantClass
{
///
/// Constant SSLv3 for MinimumProtocolVersion
///
public static readonly MinimumProtocolVersion SSLv3 = new MinimumProtocolVersion("SSLv3");
///
/// Constant TLSv1 for MinimumProtocolVersion
///
public static readonly MinimumProtocolVersion TLSv1 = new MinimumProtocolVersion("TLSv1");
///
/// Constant TLSv1_2016 for MinimumProtocolVersion
///
public static readonly MinimumProtocolVersion TLSv1_2016 = new MinimumProtocolVersion("TLSv1_2016");
///
/// Constant TLSv11_2016 for MinimumProtocolVersion
///
public static readonly MinimumProtocolVersion TLSv11_2016 = new MinimumProtocolVersion("TLSv1.1_2016");
///
/// Constant TLSv12_2018 for MinimumProtocolVersion
///
public static readonly MinimumProtocolVersion TLSv12_2018 = new MinimumProtocolVersion("TLSv1.2_2018");
///
/// Constant TLSv12_2019 for MinimumProtocolVersion
///
public static readonly MinimumProtocolVersion TLSv12_2019 = new MinimumProtocolVersion("TLSv1.2_2019");
///
/// Constant TLSv12_2021 for MinimumProtocolVersion
///
public static readonly MinimumProtocolVersion TLSv12_2021 = new MinimumProtocolVersion("TLSv1.2_2021");
///
/// 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 MinimumProtocolVersion(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static MinimumProtocolVersion FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator MinimumProtocolVersion(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OriginAccessControlOriginTypes.
///
public class OriginAccessControlOriginTypes : ConstantClass
{
///
/// Constant Mediastore for OriginAccessControlOriginTypes
///
public static readonly OriginAccessControlOriginTypes Mediastore = new OriginAccessControlOriginTypes("mediastore");
///
/// Constant S3 for OriginAccessControlOriginTypes
///
public static readonly OriginAccessControlOriginTypes S3 = new OriginAccessControlOriginTypes("s3");
///
/// 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 OriginAccessControlOriginTypes(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static OriginAccessControlOriginTypes FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator OriginAccessControlOriginTypes(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OriginAccessControlSigningBehaviors.
///
public class OriginAccessControlSigningBehaviors : ConstantClass
{
///
/// Constant Always for OriginAccessControlSigningBehaviors
///
public static readonly OriginAccessControlSigningBehaviors Always = new OriginAccessControlSigningBehaviors("always");
///
/// Constant Never for OriginAccessControlSigningBehaviors
///
public static readonly OriginAccessControlSigningBehaviors Never = new OriginAccessControlSigningBehaviors("never");
///
/// Constant NoOverride for OriginAccessControlSigningBehaviors
///
public static readonly OriginAccessControlSigningBehaviors NoOverride = new OriginAccessControlSigningBehaviors("no-override");
///
/// 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 OriginAccessControlSigningBehaviors(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static OriginAccessControlSigningBehaviors FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator OriginAccessControlSigningBehaviors(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OriginAccessControlSigningProtocols.
///
public class OriginAccessControlSigningProtocols : ConstantClass
{
///
/// Constant Sigv4 for OriginAccessControlSigningProtocols
///
public static readonly OriginAccessControlSigningProtocols Sigv4 = new OriginAccessControlSigningProtocols("sigv4");
///
/// 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 OriginAccessControlSigningProtocols(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static OriginAccessControlSigningProtocols FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator OriginAccessControlSigningProtocols(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OriginProtocolPolicy.
///
public class OriginProtocolPolicy : ConstantClass
{
///
/// Constant HttpOnly for OriginProtocolPolicy
///
public static readonly OriginProtocolPolicy HttpOnly = new OriginProtocolPolicy("http-only");
///
/// Constant HttpsOnly for OriginProtocolPolicy
///
public static readonly OriginProtocolPolicy HttpsOnly = new OriginProtocolPolicy("https-only");
///
/// Constant MatchViewer for OriginProtocolPolicy
///
public static readonly OriginProtocolPolicy MatchViewer = new OriginProtocolPolicy("match-viewer");
///
/// 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 OriginProtocolPolicy(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static OriginProtocolPolicy FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator OriginProtocolPolicy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OriginRequestPolicyCookieBehavior.
///
public class OriginRequestPolicyCookieBehavior : ConstantClass
{
///
/// Constant All for OriginRequestPolicyCookieBehavior
///
public static readonly OriginRequestPolicyCookieBehavior All = new OriginRequestPolicyCookieBehavior("all");
///
/// Constant AllExcept for OriginRequestPolicyCookieBehavior
///
public static readonly OriginRequestPolicyCookieBehavior AllExcept = new OriginRequestPolicyCookieBehavior("allExcept");
///
/// Constant None for OriginRequestPolicyCookieBehavior
///
public static readonly OriginRequestPolicyCookieBehavior None = new OriginRequestPolicyCookieBehavior("none");
///
/// Constant Whitelist for OriginRequestPolicyCookieBehavior
///
public static readonly OriginRequestPolicyCookieBehavior Whitelist = new OriginRequestPolicyCookieBehavior("whitelist");
///
/// 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 OriginRequestPolicyCookieBehavior(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static OriginRequestPolicyCookieBehavior FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator OriginRequestPolicyCookieBehavior(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OriginRequestPolicyHeaderBehavior.
///
public class OriginRequestPolicyHeaderBehavior : ConstantClass
{
///
/// Constant AllExcept for OriginRequestPolicyHeaderBehavior
///
public static readonly OriginRequestPolicyHeaderBehavior AllExcept = new OriginRequestPolicyHeaderBehavior("allExcept");
///
/// Constant AllViewer for OriginRequestPolicyHeaderBehavior
///
public static readonly OriginRequestPolicyHeaderBehavior AllViewer = new OriginRequestPolicyHeaderBehavior("allViewer");
///
/// Constant AllViewerAndWhitelistCloudFront for OriginRequestPolicyHeaderBehavior
///
public static readonly OriginRequestPolicyHeaderBehavior AllViewerAndWhitelistCloudFront = new OriginRequestPolicyHeaderBehavior("allViewerAndWhitelistCloudFront");
///
/// Constant None for OriginRequestPolicyHeaderBehavior
///
public static readonly OriginRequestPolicyHeaderBehavior None = new OriginRequestPolicyHeaderBehavior("none");
///
/// Constant Whitelist for OriginRequestPolicyHeaderBehavior
///
public static readonly OriginRequestPolicyHeaderBehavior Whitelist = new OriginRequestPolicyHeaderBehavior("whitelist");
///
/// 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 OriginRequestPolicyHeaderBehavior(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static OriginRequestPolicyHeaderBehavior FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator OriginRequestPolicyHeaderBehavior(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OriginRequestPolicyQueryStringBehavior.
///
public class OriginRequestPolicyQueryStringBehavior : ConstantClass
{
///
/// Constant All for OriginRequestPolicyQueryStringBehavior
///
public static readonly OriginRequestPolicyQueryStringBehavior All = new OriginRequestPolicyQueryStringBehavior("all");
///
/// Constant AllExcept for OriginRequestPolicyQueryStringBehavior
///
public static readonly OriginRequestPolicyQueryStringBehavior AllExcept = new OriginRequestPolicyQueryStringBehavior("allExcept");
///
/// Constant None for OriginRequestPolicyQueryStringBehavior
///
public static readonly OriginRequestPolicyQueryStringBehavior None = new OriginRequestPolicyQueryStringBehavior("none");
///
/// Constant Whitelist for OriginRequestPolicyQueryStringBehavior
///
public static readonly OriginRequestPolicyQueryStringBehavior Whitelist = new OriginRequestPolicyQueryStringBehavior("whitelist");
///
/// 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 OriginRequestPolicyQueryStringBehavior(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static OriginRequestPolicyQueryStringBehavior FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator OriginRequestPolicyQueryStringBehavior(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OriginRequestPolicyType.
///
public class OriginRequestPolicyType : ConstantClass
{
///
/// Constant Custom for OriginRequestPolicyType
///
public static readonly OriginRequestPolicyType Custom = new OriginRequestPolicyType("custom");
///
/// Constant Managed for OriginRequestPolicyType
///
public static readonly OriginRequestPolicyType Managed = new OriginRequestPolicyType("managed");
///
/// 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 OriginRequestPolicyType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static OriginRequestPolicyType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator OriginRequestPolicyType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PriceClass.
///
public class PriceClass : ConstantClass
{
///
/// Constant PriceClass_100 for PriceClass
///
public static readonly PriceClass PriceClass_100 = new PriceClass("PriceClass_100");
///
/// Constant PriceClass_200 for PriceClass
///
public static readonly PriceClass PriceClass_200 = new PriceClass("PriceClass_200");
///
/// Constant PriceClass_All for PriceClass
///
public static readonly PriceClass PriceClass_All = new PriceClass("PriceClass_All");
///
/// 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 PriceClass(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static PriceClass FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator PriceClass(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RealtimeMetricsSubscriptionStatus.
///
public class RealtimeMetricsSubscriptionStatus : ConstantClass
{
///
/// Constant Disabled for RealtimeMetricsSubscriptionStatus
///
public static readonly RealtimeMetricsSubscriptionStatus Disabled = new RealtimeMetricsSubscriptionStatus("Disabled");
///
/// Constant Enabled for RealtimeMetricsSubscriptionStatus
///
public static readonly RealtimeMetricsSubscriptionStatus Enabled = new RealtimeMetricsSubscriptionStatus("Enabled");
///
/// 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 RealtimeMetricsSubscriptionStatus(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static RealtimeMetricsSubscriptionStatus FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator RealtimeMetricsSubscriptionStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ReferrerPolicyList.
///
public class ReferrerPolicyList : ConstantClass
{
///
/// Constant NoReferrer for ReferrerPolicyList
///
public static readonly ReferrerPolicyList NoReferrer = new ReferrerPolicyList("no-referrer");
///
/// Constant NoReferrerWhenDowngrade for ReferrerPolicyList
///
public static readonly ReferrerPolicyList NoReferrerWhenDowngrade = new ReferrerPolicyList("no-referrer-when-downgrade");
///
/// Constant Origin for ReferrerPolicyList
///
public static readonly ReferrerPolicyList Origin = new ReferrerPolicyList("origin");
///
/// Constant OriginWhenCrossOrigin for ReferrerPolicyList
///
public static readonly ReferrerPolicyList OriginWhenCrossOrigin = new ReferrerPolicyList("origin-when-cross-origin");
///
/// Constant SameOrigin for ReferrerPolicyList
///
public static readonly ReferrerPolicyList SameOrigin = new ReferrerPolicyList("same-origin");
///
/// Constant StrictOrigin for ReferrerPolicyList
///
public static readonly ReferrerPolicyList StrictOrigin = new ReferrerPolicyList("strict-origin");
///
/// Constant StrictOriginWhenCrossOrigin for ReferrerPolicyList
///
public static readonly ReferrerPolicyList StrictOriginWhenCrossOrigin = new ReferrerPolicyList("strict-origin-when-cross-origin");
///
/// Constant UnsafeUrl for ReferrerPolicyList
///
public static readonly ReferrerPolicyList UnsafeUrl = new ReferrerPolicyList("unsafe-url");
///
/// 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 ReferrerPolicyList(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ReferrerPolicyList FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ReferrerPolicyList(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResponseHeadersPolicyAccessControlAllowMethodsValues.
///
public class ResponseHeadersPolicyAccessControlAllowMethodsValues : ConstantClass
{
///
/// Constant ALL for ResponseHeadersPolicyAccessControlAllowMethodsValues
///
public static readonly ResponseHeadersPolicyAccessControlAllowMethodsValues ALL = new ResponseHeadersPolicyAccessControlAllowMethodsValues("ALL");
///
/// Constant DELETE for ResponseHeadersPolicyAccessControlAllowMethodsValues
///
public static readonly ResponseHeadersPolicyAccessControlAllowMethodsValues DELETE = new ResponseHeadersPolicyAccessControlAllowMethodsValues("DELETE");
///
/// Constant GET for ResponseHeadersPolicyAccessControlAllowMethodsValues
///
public static readonly ResponseHeadersPolicyAccessControlAllowMethodsValues GET = new ResponseHeadersPolicyAccessControlAllowMethodsValues("GET");
///
/// Constant HEAD for ResponseHeadersPolicyAccessControlAllowMethodsValues
///
public static readonly ResponseHeadersPolicyAccessControlAllowMethodsValues HEAD = new ResponseHeadersPolicyAccessControlAllowMethodsValues("HEAD");
///
/// Constant OPTIONS for ResponseHeadersPolicyAccessControlAllowMethodsValues
///
public static readonly ResponseHeadersPolicyAccessControlAllowMethodsValues OPTIONS = new ResponseHeadersPolicyAccessControlAllowMethodsValues("OPTIONS");
///
/// Constant PATCH for ResponseHeadersPolicyAccessControlAllowMethodsValues
///
public static readonly ResponseHeadersPolicyAccessControlAllowMethodsValues PATCH = new ResponseHeadersPolicyAccessControlAllowMethodsValues("PATCH");
///
/// Constant POST for ResponseHeadersPolicyAccessControlAllowMethodsValues
///
public static readonly ResponseHeadersPolicyAccessControlAllowMethodsValues POST = new ResponseHeadersPolicyAccessControlAllowMethodsValues("POST");
///
/// Constant PUT for ResponseHeadersPolicyAccessControlAllowMethodsValues
///
public static readonly ResponseHeadersPolicyAccessControlAllowMethodsValues PUT = new ResponseHeadersPolicyAccessControlAllowMethodsValues("PUT");
///
/// 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 ResponseHeadersPolicyAccessControlAllowMethodsValues(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ResponseHeadersPolicyAccessControlAllowMethodsValues FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ResponseHeadersPolicyAccessControlAllowMethodsValues(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResponseHeadersPolicyType.
///
public class ResponseHeadersPolicyType : ConstantClass
{
///
/// Constant Custom for ResponseHeadersPolicyType
///
public static readonly ResponseHeadersPolicyType Custom = new ResponseHeadersPolicyType("custom");
///
/// Constant Managed for ResponseHeadersPolicyType
///
public static readonly ResponseHeadersPolicyType Managed = new ResponseHeadersPolicyType("managed");
///
/// 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 ResponseHeadersPolicyType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ResponseHeadersPolicyType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ResponseHeadersPolicyType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SslProtocol.
///
public class SslProtocol : ConstantClass
{
///
/// Constant SSLv3 for SslProtocol
///
public static readonly SslProtocol SSLv3 = new SslProtocol("SSLv3");
///
/// Constant TLSv1 for SslProtocol
///
public static readonly SslProtocol TLSv1 = new SslProtocol("TLSv1");
///
/// Constant TLSv11 for SslProtocol
///
public static readonly SslProtocol TLSv11 = new SslProtocol("TLSv1.1");
///
/// Constant TLSv12 for SslProtocol
///
public static readonly SslProtocol TLSv12 = new SslProtocol("TLSv1.2");
///
/// 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 SslProtocol(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static SslProtocol FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator SslProtocol(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SSLSupportMethod.
///
public class SSLSupportMethod : ConstantClass
{
///
/// Constant SniOnly for SSLSupportMethod
///
public static readonly SSLSupportMethod SniOnly = new SSLSupportMethod("sni-only");
///
/// Constant StaticIp for SSLSupportMethod
///
public static readonly SSLSupportMethod StaticIp = new SSLSupportMethod("static-ip");
///
/// Constant Vip for SSLSupportMethod
///
public static readonly SSLSupportMethod Vip = new SSLSupportMethod("vip");
///
/// 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 SSLSupportMethod(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static SSLSupportMethod FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator SSLSupportMethod(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ViewerProtocolPolicy.
///
public class ViewerProtocolPolicy : ConstantClass
{
///
/// Constant AllowAll for ViewerProtocolPolicy
///
public static readonly ViewerProtocolPolicy AllowAll = new ViewerProtocolPolicy("allow-all");
///
/// Constant HttpsOnly for ViewerProtocolPolicy
///
public static readonly ViewerProtocolPolicy HttpsOnly = new ViewerProtocolPolicy("https-only");
///
/// Constant RedirectToHttps for ViewerProtocolPolicy
///
public static readonly ViewerProtocolPolicy RedirectToHttps = new ViewerProtocolPolicy("redirect-to-https");
///
/// 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)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ViewerProtocolPolicy FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ViewerProtocolPolicy(string value)
{
return FindValue(value);
}
}
}