Skip to content

Literals

Index > CloudFront > Literals

Auto-generated documentation for CloudFront type annotations stubs module mypy-boto3-cloudfront.

CachePolicyCookieBehaviorType

Usage Example
from mypy_boto3_cloudfront.literals import CachePolicyCookieBehaviorType

def get_value() -> CachePolicyCookieBehaviorType:
    return "all"
Definition
CachePolicyCookieBehaviorType = Literal[
    "all",
    "allExcept",
    "none",
    "whitelist",
]

CachePolicyHeaderBehaviorType

Usage Example
from mypy_boto3_cloudfront.literals import CachePolicyHeaderBehaviorType

def get_value() -> CachePolicyHeaderBehaviorType:
    return "none"
Definition
CachePolicyHeaderBehaviorType = Literal[
    "none",
    "whitelist",
]

CachePolicyQueryStringBehaviorType

Usage Example
from mypy_boto3_cloudfront.literals import CachePolicyQueryStringBehaviorType

def get_value() -> CachePolicyQueryStringBehaviorType:
    return "all"
Definition
CachePolicyQueryStringBehaviorType = Literal[
    "all",
    "allExcept",
    "none",
    "whitelist",
]

CachePolicyTypeType

Usage Example
from mypy_boto3_cloudfront.literals import CachePolicyTypeType

def get_value() -> CachePolicyTypeType:
    return "custom"
Definition
CachePolicyTypeType = Literal[
    "custom",
    "managed",
]

CertificateSourceType

Usage Example
from mypy_boto3_cloudfront.literals import CertificateSourceType

def get_value() -> CertificateSourceType:
    return "acm"
Definition
CertificateSourceType = Literal[
    "acm",
    "cloudfront",
    "iam",
]

DistributionDeployedWaiterName

Usage Example
from mypy_boto3_cloudfront.literals import DistributionDeployedWaiterName

def get_value() -> DistributionDeployedWaiterName:
    return "distribution_deployed"
Definition
DistributionDeployedWaiterName = Literal[
    "distribution_deployed",
]

EventTypeType

Usage Example
from mypy_boto3_cloudfront.literals import EventTypeType

def get_value() -> EventTypeType:
    return "origin-request"
Definition
EventTypeType = Literal[
    "origin-request",
    "origin-response",
    "viewer-request",
    "viewer-response",
]

FormatType

Usage Example
from mypy_boto3_cloudfront.literals import FormatType

def get_value() -> FormatType:
    return "URLEncoded"
Definition
FormatType = Literal[
    "URLEncoded",
]

FrameOptionsListType

Usage Example
from mypy_boto3_cloudfront.literals import FrameOptionsListType

def get_value() -> FrameOptionsListType:
    return "DENY"
Definition
FrameOptionsListType = Literal[
    "DENY",
    "SAMEORIGIN",
]

FunctionRuntimeType

Usage Example
from mypy_boto3_cloudfront.literals import FunctionRuntimeType

def get_value() -> FunctionRuntimeType:
    return "cloudfront-js-1.0"
Definition
FunctionRuntimeType = Literal[
    "cloudfront-js-1.0",
]

FunctionStageType

Usage Example
from mypy_boto3_cloudfront.literals import FunctionStageType

def get_value() -> FunctionStageType:
    return "DEVELOPMENT"
Definition
FunctionStageType = Literal[
    "DEVELOPMENT",
    "LIVE",
]

GeoRestrictionTypeType

Usage Example
from mypy_boto3_cloudfront.literals import GeoRestrictionTypeType

def get_value() -> GeoRestrictionTypeType:
    return "blacklist"
Definition
GeoRestrictionTypeType = Literal[
    "blacklist",
    "none",
    "whitelist",
]

HttpVersionType

Usage Example
from mypy_boto3_cloudfront.literals import HttpVersionType

def get_value() -> HttpVersionType:
    return "http1.1"
Definition
HttpVersionType = Literal[
    "http1.1",
    "http2",
    "http2and3",
    "http3",
]

ICPRecordalStatusType

Usage Example
from mypy_boto3_cloudfront.literals import ICPRecordalStatusType

def get_value() -> ICPRecordalStatusType:
    return "APPROVED"
Definition
ICPRecordalStatusType = Literal[
    "APPROVED",
    "PENDING",
    "SUSPENDED",
]

InvalidationCompletedWaiterName

Usage Example
from mypy_boto3_cloudfront.literals import InvalidationCompletedWaiterName

def get_value() -> InvalidationCompletedWaiterName:
    return "invalidation_completed"
Definition
InvalidationCompletedWaiterName = Literal[
    "invalidation_completed",
]

ItemSelectionType

Usage Example
from mypy_boto3_cloudfront.literals import ItemSelectionType

def get_value() -> ItemSelectionType:
    return "all"
Definition
ItemSelectionType = Literal[
    "all",
    "none",
    "whitelist",
]

ListCloudFrontOriginAccessIdentitiesPaginatorName

Usage Example
from mypy_boto3_cloudfront.literals import ListCloudFrontOriginAccessIdentitiesPaginatorName

def get_value() -> ListCloudFrontOriginAccessIdentitiesPaginatorName:
    return "list_cloud_front_origin_access_identities"
Definition
ListCloudFrontOriginAccessIdentitiesPaginatorName = Literal[
    "list_cloud_front_origin_access_identities",
]

ListDistributionsPaginatorName

Usage Example
from mypy_boto3_cloudfront.literals import ListDistributionsPaginatorName

def get_value() -> ListDistributionsPaginatorName:
    return "list_distributions"
Definition
ListDistributionsPaginatorName = Literal[
    "list_distributions",
]

ListInvalidationsPaginatorName

Usage Example
from mypy_boto3_cloudfront.literals import ListInvalidationsPaginatorName

def get_value() -> ListInvalidationsPaginatorName:
    return "list_invalidations"
Definition
ListInvalidationsPaginatorName = Literal[
    "list_invalidations",
]

ListStreamingDistributionsPaginatorName

Usage Example
from mypy_boto3_cloudfront.literals import ListStreamingDistributionsPaginatorName

def get_value() -> ListStreamingDistributionsPaginatorName:
    return "list_streaming_distributions"
Definition
ListStreamingDistributionsPaginatorName = Literal[
    "list_streaming_distributions",
]

MethodType

Usage Example
from mypy_boto3_cloudfront.literals import MethodType

def get_value() -> MethodType:
    return "DELETE"
Definition
MethodType = Literal[
    "DELETE",
    "GET",
    "HEAD",
    "OPTIONS",
    "PATCH",
    "POST",
    "PUT",
]

MinimumProtocolVersionType

Usage Example
from mypy_boto3_cloudfront.literals import MinimumProtocolVersionType

def get_value() -> MinimumProtocolVersionType:
    return "SSLv3"
Definition
MinimumProtocolVersionType = Literal[
    "SSLv3",
    "TLSv1",
    "TLSv1.1_2016",
    "TLSv1.2_2018",
    "TLSv1.2_2019",
    "TLSv1.2_2021",
    "TLSv1_2016",
]

OriginAccessControlOriginTypesType

Usage Example
from mypy_boto3_cloudfront.literals import OriginAccessControlOriginTypesType

def get_value() -> OriginAccessControlOriginTypesType:
    return "s3"
Definition
OriginAccessControlOriginTypesType = Literal[
    "s3",
]

OriginAccessControlSigningBehaviorsType

Usage Example
from mypy_boto3_cloudfront.literals import OriginAccessControlSigningBehaviorsType

def get_value() -> OriginAccessControlSigningBehaviorsType:
    return "always"
Definition
OriginAccessControlSigningBehaviorsType = Literal[
    "always",
    "never",
    "no-override",
]

OriginAccessControlSigningProtocolsType

Usage Example
from mypy_boto3_cloudfront.literals import OriginAccessControlSigningProtocolsType

def get_value() -> OriginAccessControlSigningProtocolsType:
    return "sigv4"
Definition
OriginAccessControlSigningProtocolsType = Literal[
    "sigv4",
]

OriginProtocolPolicyType

Usage Example
from mypy_boto3_cloudfront.literals import OriginProtocolPolicyType

def get_value() -> OriginProtocolPolicyType:
    return "http-only"
Definition
OriginProtocolPolicyType = Literal[
    "http-only",
    "https-only",
    "match-viewer",
]

OriginRequestPolicyCookieBehaviorType

Usage Example
from mypy_boto3_cloudfront.literals import OriginRequestPolicyCookieBehaviorType

def get_value() -> OriginRequestPolicyCookieBehaviorType:
    return "all"
Definition
OriginRequestPolicyCookieBehaviorType = Literal[
    "all",
    "none",
    "whitelist",
]

OriginRequestPolicyHeaderBehaviorType

Usage Example
from mypy_boto3_cloudfront.literals import OriginRequestPolicyHeaderBehaviorType

def get_value() -> OriginRequestPolicyHeaderBehaviorType:
    return "allViewer"
Definition
OriginRequestPolicyHeaderBehaviorType = Literal[
    "allViewer",
    "allViewerAndWhitelistCloudFront",
    "none",
    "whitelist",
]

OriginRequestPolicyQueryStringBehaviorType

Usage Example
from mypy_boto3_cloudfront.literals import OriginRequestPolicyQueryStringBehaviorType

def get_value() -> OriginRequestPolicyQueryStringBehaviorType:
    return "all"
Definition
OriginRequestPolicyQueryStringBehaviorType = Literal[
    "all",
    "none",
    "whitelist",
]

OriginRequestPolicyTypeType

Usage Example
from mypy_boto3_cloudfront.literals import OriginRequestPolicyTypeType

def get_value() -> OriginRequestPolicyTypeType:
    return "custom"
Definition
OriginRequestPolicyTypeType = Literal[
    "custom",
    "managed",
]

PriceClassType

Usage Example
from mypy_boto3_cloudfront.literals import PriceClassType

def get_value() -> PriceClassType:
    return "PriceClass_100"
Definition
PriceClassType = Literal[
    "PriceClass_100",
    "PriceClass_200",
    "PriceClass_All",
]

RealtimeMetricsSubscriptionStatusType

Usage Example
from mypy_boto3_cloudfront.literals import RealtimeMetricsSubscriptionStatusType

def get_value() -> RealtimeMetricsSubscriptionStatusType:
    return "Disabled"
Definition
RealtimeMetricsSubscriptionStatusType = Literal[
    "Disabled",
    "Enabled",
]

ReferrerPolicyListType

Usage Example
from mypy_boto3_cloudfront.literals import ReferrerPolicyListType

def get_value() -> ReferrerPolicyListType:
    return "no-referrer"
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

Usage Example
from mypy_boto3_cloudfront.literals import ResponseHeadersPolicyAccessControlAllowMethodsValuesType

def get_value() -> ResponseHeadersPolicyAccessControlAllowMethodsValuesType:
    return "ALL"
Definition
ResponseHeadersPolicyAccessControlAllowMethodsValuesType = Literal[
    "ALL",
    "DELETE",
    "GET",
    "HEAD",
    "OPTIONS",
    "PATCH",
    "POST",
    "PUT",
]

ResponseHeadersPolicyTypeType

Usage Example
from mypy_boto3_cloudfront.literals import ResponseHeadersPolicyTypeType

def get_value() -> ResponseHeadersPolicyTypeType:
    return "custom"
Definition
ResponseHeadersPolicyTypeType = Literal[
    "custom",
    "managed",
]

SSLSupportMethodType

Usage Example
from mypy_boto3_cloudfront.literals import SSLSupportMethodType

def get_value() -> SSLSupportMethodType:
    return "sni-only"
Definition
SSLSupportMethodType = Literal[
    "sni-only",
    "static-ip",
    "vip",
]

SslProtocolType

Usage Example
from mypy_boto3_cloudfront.literals import SslProtocolType

def get_value() -> SslProtocolType:
    return "SSLv3"
Definition
SslProtocolType = Literal[
    "SSLv3",
    "TLSv1",
    "TLSv1.1",
    "TLSv1.2",
]

StreamingDistributionDeployedWaiterName

Usage Example
from mypy_boto3_cloudfront.literals import StreamingDistributionDeployedWaiterName

def get_value() -> StreamingDistributionDeployedWaiterName:
    return "streaming_distribution_deployed"
Definition
StreamingDistributionDeployedWaiterName = Literal[
    "streaming_distribution_deployed",
]

ViewerProtocolPolicyType

Usage Example
from mypy_boto3_cloudfront.literals import ViewerProtocolPolicyType

def get_value() -> ViewerProtocolPolicyType:
    return "allow-all"
Definition
ViewerProtocolPolicyType = Literal[
    "allow-all",
    "https-only",
    "redirect-to-https",
]

CloudFrontServiceName

Usage Example
from mypy_boto3_cloudfront.literals import CloudFrontServiceName

def get_value() -> CloudFrontServiceName:
    return "cloudfront"
Definition
CloudFrontServiceName = Literal[
    "cloudfront",
]

ServiceName

Usage Example
from mypy_boto3_cloudfront.literals import ServiceName

def get_value() -> ServiceName:
    return "accessanalyzer"
Definition
ServiceName = Literal[
    "accessanalyzer",
    "account",
    "acm",
    "acm-pca",
    "alexaforbusiness",
    "amp",
    "amplify",
    "amplifybackend",
    "amplifyuibuilder",
    "apigateway",
    "apigatewaymanagementapi",
    "apigatewayv2",
    "appconfig",
    "appconfigdata",
    "appflow",
    "appintegrations",
    "application-autoscaling",
    "application-insights",
    "applicationcostprofiler",
    "appmesh",
    "apprunner",
    "appstream",
    "appsync",
    "athena",
    "auditmanager",
    "autoscaling",
    "autoscaling-plans",
    "backup",
    "backup-gateway",
    "backupstorage",
    "batch",
    "billingconductor",
    "braket",
    "budgets",
    "ce",
    "chime",
    "chime-sdk-identity",
    "chime-sdk-media-pipelines",
    "chime-sdk-meetings",
    "chime-sdk-messaging",
    "cloud9",
    "cloudcontrol",
    "clouddirectory",
    "cloudformation",
    "cloudfront",
    "cloudhsm",
    "cloudhsmv2",
    "cloudsearch",
    "cloudsearchdomain",
    "cloudtrail",
    "cloudwatch",
    "codeartifact",
    "codebuild",
    "codecommit",
    "codedeploy",
    "codeguru-reviewer",
    "codeguruprofiler",
    "codepipeline",
    "codestar",
    "codestar-connections",
    "codestar-notifications",
    "cognito-identity",
    "cognito-idp",
    "cognito-sync",
    "comprehend",
    "comprehendmedical",
    "compute-optimizer",
    "config",
    "connect",
    "connect-contact-lens",
    "connectcampaigns",
    "connectcases",
    "connectparticipant",
    "controltower",
    "cur",
    "customer-profiles",
    "databrew",
    "dataexchange",
    "datapipeline",
    "datasync",
    "dax",
    "detective",
    "devicefarm",
    "devops-guru",
    "directconnect",
    "discovery",
    "dlm",
    "dms",
    "docdb",
    "drs",
    "ds",
    "dynamodb",
    "dynamodbstreams",
    "ebs",
    "ec2",
    "ec2-instance-connect",
    "ecr",
    "ecr-public",
    "ecs",
    "efs",
    "eks",
    "elastic-inference",
    "elasticache",
    "elasticbeanstalk",
    "elastictranscoder",
    "elb",
    "elbv2",
    "emr",
    "emr-containers",
    "emr-serverless",
    "es",
    "events",
    "evidently",
    "finspace",
    "finspace-data",
    "firehose",
    "fis",
    "fms",
    "forecast",
    "forecastquery",
    "frauddetector",
    "fsx",
    "gamelift",
    "gamesparks",
    "glacier",
    "globalaccelerator",
    "glue",
    "grafana",
    "greengrass",
    "greengrassv2",
    "groundstation",
    "guardduty",
    "health",
    "healthlake",
    "honeycode",
    "iam",
    "identitystore",
    "imagebuilder",
    "importexport",
    "inspector",
    "inspector2",
    "iot",
    "iot-data",
    "iot-jobs-data",
    "iot1click-devices",
    "iot1click-projects",
    "iotanalytics",
    "iotdeviceadvisor",
    "iotevents",
    "iotevents-data",
    "iotfleethub",
    "iotfleetwise",
    "iotsecuretunneling",
    "iotsitewise",
    "iotthingsgraph",
    "iottwinmaker",
    "iotwireless",
    "ivs",
    "ivschat",
    "kafka",
    "kafkaconnect",
    "kendra",
    "keyspaces",
    "kinesis",
    "kinesis-video-archived-media",
    "kinesis-video-media",
    "kinesis-video-signaling",
    "kinesisanalytics",
    "kinesisanalyticsv2",
    "kinesisvideo",
    "kms",
    "lakeformation",
    "lambda",
    "lex-models",
    "lex-runtime",
    "lexv2-models",
    "lexv2-runtime",
    "license-manager",
    "license-manager-user-subscriptions",
    "lightsail",
    "location",
    "logs",
    "lookoutequipment",
    "lookoutmetrics",
    "lookoutvision",
    "m2",
    "machinelearning",
    "macie",
    "macie2",
    "managedblockchain",
    "marketplace-catalog",
    "marketplace-entitlement",
    "marketplacecommerceanalytics",
    "mediaconnect",
    "mediaconvert",
    "medialive",
    "mediapackage",
    "mediapackage-vod",
    "mediastore",
    "mediastore-data",
    "mediatailor",
    "memorydb",
    "meteringmarketplace",
    "mgh",
    "mgn",
    "migration-hub-refactor-spaces",
    "migrationhub-config",
    "migrationhuborchestrator",
    "migrationhubstrategy",
    "mobile",
    "mq",
    "mturk",
    "mwaa",
    "neptune",
    "network-firewall",
    "networkmanager",
    "nimble",
    "opensearch",
    "opsworks",
    "opsworkscm",
    "organizations",
    "outposts",
    "panorama",
    "personalize",
    "personalize-events",
    "personalize-runtime",
    "pi",
    "pinpoint",
    "pinpoint-email",
    "pinpoint-sms-voice",
    "pinpoint-sms-voice-v2",
    "polly",
    "pricing",
    "privatenetworks",
    "proton",
    "qldb",
    "qldb-session",
    "quicksight",
    "ram",
    "rbin",
    "rds",
    "rds-data",
    "redshift",
    "redshift-data",
    "redshift-serverless",
    "rekognition",
    "resiliencehub",
    "resource-groups",
    "resourcegroupstaggingapi",
    "robomaker",
    "rolesanywhere",
    "route53",
    "route53-recovery-cluster",
    "route53-recovery-control-config",
    "route53-recovery-readiness",
    "route53domains",
    "route53resolver",
    "rum",
    "s3",
    "s3control",
    "s3outposts",
    "sagemaker",
    "sagemaker-a2i-runtime",
    "sagemaker-edge",
    "sagemaker-featurestore-runtime",
    "sagemaker-runtime",
    "savingsplans",
    "schemas",
    "sdb",
    "secretsmanager",
    "securityhub",
    "serverlessrepo",
    "service-quotas",
    "servicecatalog",
    "servicecatalog-appregistry",
    "servicediscovery",
    "ses",
    "sesv2",
    "shield",
    "signer",
    "sms",
    "sms-voice",
    "snow-device-management",
    "snowball",
    "sns",
    "sqs",
    "ssm",
    "ssm-contacts",
    "ssm-incidents",
    "sso",
    "sso-admin",
    "sso-oidc",
    "stepfunctions",
    "storagegateway",
    "sts",
    "support",
    "support-app",
    "swf",
    "synthetics",
    "textract",
    "timestream-query",
    "timestream-write",
    "transcribe",
    "transfer",
    "translate",
    "voice-id",
    "waf",
    "waf-regional",
    "wafv2",
    "wellarchitected",
    "wisdom",
    "workdocs",
    "worklink",
    "workmail",
    "workmailmessageflow",
    "workspaces",
    "workspaces-web",
    "xray",
]

ResourceServiceName

Usage Example
from mypy_boto3_cloudfront.literals import ResourceServiceName

def get_value() -> ResourceServiceName:
    return "cloudformation"
Definition
ResourceServiceName = Literal[
    "cloudformation",
    "cloudwatch",
    "dynamodb",
    "ec2",
    "glacier",
    "iam",
    "opsworks",
    "s3",
    "sns",
    "sqs",
]

PaginatorName

Usage Example
from mypy_boto3_cloudfront.literals import PaginatorName

def get_value() -> PaginatorName:
    return "list_cloud_front_origin_access_identities"
Definition
PaginatorName = Literal[
    "list_cloud_front_origin_access_identities",
    "list_distributions",
    "list_invalidations",
    "list_streaming_distributions",
]

WaiterName

Usage Example
from mypy_boto3_cloudfront.literals import WaiterName

def get_value() -> WaiterName:
    return "distribution_deployed"
Definition
WaiterName = Literal[
    "distribution_deployed",
    "invalidation_completed",
    "streaming_distribution_deployed",
]