Literals#
Index > CloudFront > Literals
Auto-generated documentation for CloudFront type annotations stubs module mypy-boto3-cloudfront.
CachePolicyCookieBehaviorType#
# CachePolicyCookieBehaviorType usage example
from mypy_boto3_cloudfront.literals import CachePolicyCookieBehaviorType
def get_value() -> CachePolicyCookieBehaviorType:
return "all"
# CachePolicyCookieBehaviorType definition
CachePolicyCookieBehaviorType = Literal[
"all",
"allExcept",
"none",
"whitelist",
]
CachePolicyHeaderBehaviorType#
# CachePolicyHeaderBehaviorType usage example
from mypy_boto3_cloudfront.literals import CachePolicyHeaderBehaviorType
def get_value() -> CachePolicyHeaderBehaviorType:
return "none"
# CachePolicyHeaderBehaviorType definition
CachePolicyHeaderBehaviorType = Literal[
"none",
"whitelist",
]
CachePolicyQueryStringBehaviorType#
# CachePolicyQueryStringBehaviorType usage example
from mypy_boto3_cloudfront.literals import CachePolicyQueryStringBehaviorType
def get_value() -> CachePolicyQueryStringBehaviorType:
return "all"
# CachePolicyQueryStringBehaviorType definition
CachePolicyQueryStringBehaviorType = Literal[
"all",
"allExcept",
"none",
"whitelist",
]
CachePolicyTypeType#
# CachePolicyTypeType usage example
from mypy_boto3_cloudfront.literals import CachePolicyTypeType
def get_value() -> CachePolicyTypeType:
return "custom"
# CachePolicyTypeType definition
CachePolicyTypeType = Literal[
"custom",
"managed",
]
CertificateSourceType#
# CertificateSourceType usage example
from mypy_boto3_cloudfront.literals import CertificateSourceType
def get_value() -> CertificateSourceType:
return "acm"
# CertificateSourceType definition
CertificateSourceType = Literal[
"acm",
"cloudfront",
"iam",
]
ContinuousDeploymentPolicyTypeType#
# ContinuousDeploymentPolicyTypeType usage example
from mypy_boto3_cloudfront.literals import ContinuousDeploymentPolicyTypeType
def get_value() -> ContinuousDeploymentPolicyTypeType:
return "SingleHeader"
# ContinuousDeploymentPolicyTypeType definition
ContinuousDeploymentPolicyTypeType = Literal[
"SingleHeader",
"SingleWeight",
]
DistributionDeployedWaiterName#
# DistributionDeployedWaiterName usage example
from mypy_boto3_cloudfront.literals import DistributionDeployedWaiterName
def get_value() -> DistributionDeployedWaiterName:
return "distribution_deployed"
# DistributionDeployedWaiterName definition
DistributionDeployedWaiterName = Literal[
"distribution_deployed",
]
EventTypeType#
# EventTypeType usage example
from mypy_boto3_cloudfront.literals import EventTypeType
def get_value() -> EventTypeType:
return "origin-request"
# EventTypeType definition
EventTypeType = Literal[
"origin-request",
"origin-response",
"viewer-request",
"viewer-response",
]
FormatType#
# FormatType usage example
from mypy_boto3_cloudfront.literals import FormatType
def get_value() -> FormatType:
return "URLEncoded"
# FormatType definition
FormatType = Literal[
"URLEncoded",
]
FrameOptionsListType#
# FrameOptionsListType usage example
from mypy_boto3_cloudfront.literals import FrameOptionsListType
def get_value() -> FrameOptionsListType:
return "DENY"
# FrameOptionsListType definition
FrameOptionsListType = Literal[
"DENY",
"SAMEORIGIN",
]
FunctionRuntimeType#
# FunctionRuntimeType usage example
from mypy_boto3_cloudfront.literals import FunctionRuntimeType
def get_value() -> FunctionRuntimeType:
return "cloudfront-js-1.0"
# FunctionRuntimeType definition
FunctionRuntimeType = Literal[
"cloudfront-js-1.0",
"cloudfront-js-2.0",
]
FunctionStageType#
# FunctionStageType usage example
from mypy_boto3_cloudfront.literals import FunctionStageType
def get_value() -> FunctionStageType:
return "DEVELOPMENT"
# FunctionStageType definition
FunctionStageType = Literal[
"DEVELOPMENT",
"LIVE",
]
GeoRestrictionTypeType#
# GeoRestrictionTypeType usage example
from mypy_boto3_cloudfront.literals import GeoRestrictionTypeType
def get_value() -> GeoRestrictionTypeType:
return "blacklist"
# GeoRestrictionTypeType definition
GeoRestrictionTypeType = Literal[
"blacklist",
"none",
"whitelist",
]
HttpVersionType#
# HttpVersionType usage example
from mypy_boto3_cloudfront.literals import HttpVersionType
def get_value() -> HttpVersionType:
return "http1.1"
# HttpVersionType definition
HttpVersionType = Literal[
"http1.1",
"http2",
"http2and3",
"http3",
]
ICPRecordalStatusType#
# ICPRecordalStatusType usage example
from mypy_boto3_cloudfront.literals import ICPRecordalStatusType
def get_value() -> ICPRecordalStatusType:
return "APPROVED"
# ICPRecordalStatusType definition
ICPRecordalStatusType = Literal[
"APPROVED",
"PENDING",
"SUSPENDED",
]
ImportSourceTypeType#
# ImportSourceTypeType usage example
from mypy_boto3_cloudfront.literals import ImportSourceTypeType
def get_value() -> ImportSourceTypeType:
return "S3"
# ImportSourceTypeType definition
ImportSourceTypeType = Literal[
"S3",
]
InvalidationCompletedWaiterName#
# InvalidationCompletedWaiterName usage example
from mypy_boto3_cloudfront.literals import InvalidationCompletedWaiterName
def get_value() -> InvalidationCompletedWaiterName:
return "invalidation_completed"
# InvalidationCompletedWaiterName definition
InvalidationCompletedWaiterName = Literal[
"invalidation_completed",
]
ItemSelectionType#
# ItemSelectionType usage example
from mypy_boto3_cloudfront.literals import ItemSelectionType
def get_value() -> ItemSelectionType:
return "all"
# ItemSelectionType definition
ItemSelectionType = Literal[
"all",
"none",
"whitelist",
]
ListCloudFrontOriginAccessIdentitiesPaginatorName#
# ListCloudFrontOriginAccessIdentitiesPaginatorName usage example
from mypy_boto3_cloudfront.literals import ListCloudFrontOriginAccessIdentitiesPaginatorName
def get_value() -> ListCloudFrontOriginAccessIdentitiesPaginatorName:
return "list_cloud_front_origin_access_identities"
# ListCloudFrontOriginAccessIdentitiesPaginatorName definition
ListCloudFrontOriginAccessIdentitiesPaginatorName = Literal[
"list_cloud_front_origin_access_identities",
]
ListDistributionsPaginatorName#
# ListDistributionsPaginatorName usage example
from mypy_boto3_cloudfront.literals import ListDistributionsPaginatorName
def get_value() -> ListDistributionsPaginatorName:
return "list_distributions"
# ListDistributionsPaginatorName definition
ListDistributionsPaginatorName = Literal[
"list_distributions",
]
ListInvalidationsPaginatorName#
# ListInvalidationsPaginatorName usage example
from mypy_boto3_cloudfront.literals import ListInvalidationsPaginatorName
def get_value() -> ListInvalidationsPaginatorName:
return "list_invalidations"
# ListInvalidationsPaginatorName definition
ListInvalidationsPaginatorName = Literal[
"list_invalidations",
]
ListKeyValueStoresPaginatorName#
# ListKeyValueStoresPaginatorName usage example
from mypy_boto3_cloudfront.literals import ListKeyValueStoresPaginatorName
def get_value() -> ListKeyValueStoresPaginatorName:
return "list_key_value_stores"
# ListKeyValueStoresPaginatorName definition
ListKeyValueStoresPaginatorName = Literal[
"list_key_value_stores",
]
ListStreamingDistributionsPaginatorName#
# ListStreamingDistributionsPaginatorName usage example
from mypy_boto3_cloudfront.literals import ListStreamingDistributionsPaginatorName
def get_value() -> ListStreamingDistributionsPaginatorName:
return "list_streaming_distributions"
# ListStreamingDistributionsPaginatorName definition
ListStreamingDistributionsPaginatorName = Literal[
"list_streaming_distributions",
]
MethodType#
# MethodType usage example
from mypy_boto3_cloudfront.literals import MethodType
def get_value() -> MethodType:
return "DELETE"
# MethodType definition
MethodType = Literal[
"DELETE",
"GET",
"HEAD",
"OPTIONS",
"PATCH",
"POST",
"PUT",
]
MinimumProtocolVersionType#
# MinimumProtocolVersionType usage example
from mypy_boto3_cloudfront.literals import MinimumProtocolVersionType
def get_value() -> MinimumProtocolVersionType:
return "SSLv3"
# MinimumProtocolVersionType definition
MinimumProtocolVersionType = Literal[
"SSLv3",
"TLSv1",
"TLSv1.1_2016",
"TLSv1.2_2018",
"TLSv1.2_2019",
"TLSv1.2_2021",
"TLSv1_2016",
]
OriginAccessControlOriginTypesType#
# OriginAccessControlOriginTypesType usage example
from mypy_boto3_cloudfront.literals import OriginAccessControlOriginTypesType
def get_value() -> OriginAccessControlOriginTypesType:
return "lambda"
# OriginAccessControlOriginTypesType definition
OriginAccessControlOriginTypesType = Literal[
"lambda",
"mediapackagev2",
"mediastore",
"s3",
]
OriginAccessControlSigningBehaviorsType#
# OriginAccessControlSigningBehaviorsType usage example
from mypy_boto3_cloudfront.literals import OriginAccessControlSigningBehaviorsType
def get_value() -> OriginAccessControlSigningBehaviorsType:
return "always"
# OriginAccessControlSigningBehaviorsType definition
OriginAccessControlSigningBehaviorsType = Literal[
"always",
"never",
"no-override",
]
OriginAccessControlSigningProtocolsType#
# OriginAccessControlSigningProtocolsType usage example
from mypy_boto3_cloudfront.literals import OriginAccessControlSigningProtocolsType
def get_value() -> OriginAccessControlSigningProtocolsType:
return "sigv4"
# OriginAccessControlSigningProtocolsType definition
OriginAccessControlSigningProtocolsType = Literal[
"sigv4",
]
OriginProtocolPolicyType#
# OriginProtocolPolicyType usage example
from mypy_boto3_cloudfront.literals import OriginProtocolPolicyType
def get_value() -> OriginProtocolPolicyType:
return "http-only"
# OriginProtocolPolicyType definition
OriginProtocolPolicyType = Literal[
"http-only",
"https-only",
"match-viewer",
]
OriginRequestPolicyCookieBehaviorType#
# OriginRequestPolicyCookieBehaviorType usage example
from mypy_boto3_cloudfront.literals import OriginRequestPolicyCookieBehaviorType
def get_value() -> OriginRequestPolicyCookieBehaviorType:
return "all"
# OriginRequestPolicyCookieBehaviorType definition
OriginRequestPolicyCookieBehaviorType = Literal[
"all",
"allExcept",
"none",
"whitelist",
]
OriginRequestPolicyHeaderBehaviorType#
# OriginRequestPolicyHeaderBehaviorType usage example
from mypy_boto3_cloudfront.literals import OriginRequestPolicyHeaderBehaviorType
def get_value() -> OriginRequestPolicyHeaderBehaviorType:
return "allExcept"
# OriginRequestPolicyHeaderBehaviorType definition
OriginRequestPolicyHeaderBehaviorType = Literal[
"allExcept",
"allViewer",
"allViewerAndWhitelistCloudFront",
"none",
"whitelist",
]
OriginRequestPolicyQueryStringBehaviorType#
# OriginRequestPolicyQueryStringBehaviorType usage example
from mypy_boto3_cloudfront.literals import OriginRequestPolicyQueryStringBehaviorType
def get_value() -> OriginRequestPolicyQueryStringBehaviorType:
return "all"
# OriginRequestPolicyQueryStringBehaviorType definition
OriginRequestPolicyQueryStringBehaviorType = Literal[
"all",
"allExcept",
"none",
"whitelist",
]
OriginRequestPolicyTypeType#
# OriginRequestPolicyTypeType usage example
from mypy_boto3_cloudfront.literals import OriginRequestPolicyTypeType
def get_value() -> OriginRequestPolicyTypeType:
return "custom"
# OriginRequestPolicyTypeType definition
OriginRequestPolicyTypeType = Literal[
"custom",
"managed",
]
PriceClassType#
# PriceClassType usage example
from mypy_boto3_cloudfront.literals import PriceClassType
def get_value() -> PriceClassType:
return "PriceClass_100"
# PriceClassType definition
PriceClassType = Literal[
"PriceClass_100",
"PriceClass_200",
"PriceClass_All",
]
RealtimeMetricsSubscriptionStatusType#
# RealtimeMetricsSubscriptionStatusType usage example
from mypy_boto3_cloudfront.literals import RealtimeMetricsSubscriptionStatusType
def get_value() -> RealtimeMetricsSubscriptionStatusType:
return "Disabled"
# RealtimeMetricsSubscriptionStatusType definition
RealtimeMetricsSubscriptionStatusType = Literal[
"Disabled",
"Enabled",
]
ReferrerPolicyListType#
# ReferrerPolicyListType usage example
from mypy_boto3_cloudfront.literals import ReferrerPolicyListType
def get_value() -> ReferrerPolicyListType:
return "no-referrer"
# ReferrerPolicyListType definition
ReferrerPolicyListType = Literal[
"no-referrer",
"no-referrer-when-downgrade",
"origin",
"origin-when-cross-origin",
"same-origin",
"strict-origin",
"strict-origin-when-cross-origin",
"unsafe-url",
]
ResponseHeadersPolicyAccessControlAllowMethodsValuesType#
# ResponseHeadersPolicyAccessControlAllowMethodsValuesType usage example
from mypy_boto3_cloudfront.literals import ResponseHeadersPolicyAccessControlAllowMethodsValuesType
def get_value() -> ResponseHeadersPolicyAccessControlAllowMethodsValuesType:
return "ALL"
# ResponseHeadersPolicyAccessControlAllowMethodsValuesType definition
ResponseHeadersPolicyAccessControlAllowMethodsValuesType = Literal[
"ALL",
"DELETE",
"GET",
"HEAD",
"OPTIONS",
"PATCH",
"POST",
"PUT",
]
ResponseHeadersPolicyTypeType#
# ResponseHeadersPolicyTypeType usage example
from mypy_boto3_cloudfront.literals import ResponseHeadersPolicyTypeType
def get_value() -> ResponseHeadersPolicyTypeType:
return "custom"
# ResponseHeadersPolicyTypeType definition
ResponseHeadersPolicyTypeType = Literal[
"custom",
"managed",
]
SSLSupportMethodType#
# SSLSupportMethodType usage example
from mypy_boto3_cloudfront.literals import SSLSupportMethodType
def get_value() -> SSLSupportMethodType:
return "sni-only"
# SSLSupportMethodType definition
SSLSupportMethodType = Literal[
"sni-only",
"static-ip",
"vip",
]
SslProtocolType#
# SslProtocolType usage example
from mypy_boto3_cloudfront.literals import SslProtocolType
def get_value() -> SslProtocolType:
return "SSLv3"
# SslProtocolType definition
SslProtocolType = Literal[
"SSLv3",
"TLSv1",
"TLSv1.1",
"TLSv1.2",
]
StreamingDistributionDeployedWaiterName#
# StreamingDistributionDeployedWaiterName usage example
from mypy_boto3_cloudfront.literals import StreamingDistributionDeployedWaiterName
def get_value() -> StreamingDistributionDeployedWaiterName:
return "streaming_distribution_deployed"
# StreamingDistributionDeployedWaiterName definition
StreamingDistributionDeployedWaiterName = Literal[
"streaming_distribution_deployed",
]
ViewerProtocolPolicyType#
# ViewerProtocolPolicyType usage example
from mypy_boto3_cloudfront.literals import ViewerProtocolPolicyType
def get_value() -> ViewerProtocolPolicyType:
return "allow-all"
# ViewerProtocolPolicyType definition
ViewerProtocolPolicyType = Literal[
"allow-all",
"https-only",
"redirect-to-https",
]
CloudFrontServiceName#
# CloudFrontServiceName usage example
from mypy_boto3_cloudfront.literals import CloudFrontServiceName
def get_value() -> CloudFrontServiceName:
return "cloudfront"
# CloudFrontServiceName definition
CloudFrontServiceName = Literal[
"cloudfront",
]
ServiceName#
# ServiceName usage example
from mypy_boto3_cloudfront.literals import ServiceName
def get_value() -> ServiceName:
return "accessanalyzer"
# ServiceName definition
ServiceName = Literal[
"accessanalyzer",
"account",
"acm",
"acm-pca",
"amp",
"amplify",
"amplifybackend",
"amplifyuibuilder",
"apigateway",
"apigatewaymanagementapi",
"apigatewayv2",
"appconfig",
"appconfigdata",
"appfabric",
"appflow",
"appintegrations",
"application-autoscaling",
"application-insights",
"application-signals",
"applicationcostprofiler",
"appmesh",
"apprunner",
"appstream",
"appsync",
"apptest",
"arc-zonal-shift",
"artifact",
"athena",
"auditmanager",
"autoscaling",
"autoscaling-plans",
"b2bi",
"backup",
"backup-gateway",
"batch",
"bcm-data-exports",
"bedrock",
"bedrock-agent",
"bedrock-agent-runtime",
"bedrock-runtime",
"billingconductor",
"braket",
"budgets",
"ce",
"chatbot",
"chime",
"chime-sdk-identity",
"chime-sdk-media-pipelines",
"chime-sdk-meetings",
"chime-sdk-messaging",
"chime-sdk-voice",
"cleanrooms",
"cleanroomsml",
"cloud