Literals#
Auto-generated documentation for WAFV2 type annotations stubs module mypy-boto3-wafv2.
ActionValueType#
# ActionValueType usage example
from mypy_boto3_wafv2.literals import ActionValueType
def get_value() -> ActionValueType:
return "ALLOW"
# ActionValueType definition
ActionValueType = Literal[
"ALLOW",
"BLOCK",
"CAPTCHA",
"CHALLENGE",
"COUNT",
"EXCLUDED_AS_COUNT",
]
AssociatedResourceTypeType#
# AssociatedResourceTypeType usage example
from mypy_boto3_wafv2.literals import AssociatedResourceTypeType
def get_value() -> AssociatedResourceTypeType:
return "API_GATEWAY"
# AssociatedResourceTypeType definition
AssociatedResourceTypeType = Literal[
"API_GATEWAY",
"APP_RUNNER_SERVICE",
"CLOUDFRONT",
"COGNITO_USER_POOL",
"VERIFIED_ACCESS_INSTANCE",
]
BodyParsingFallbackBehaviorType#
# BodyParsingFallbackBehaviorType usage example
from mypy_boto3_wafv2.literals import BodyParsingFallbackBehaviorType
def get_value() -> BodyParsingFallbackBehaviorType:
return "EVALUATE_AS_STRING"
# BodyParsingFallbackBehaviorType definition
BodyParsingFallbackBehaviorType = Literal[
"EVALUATE_AS_STRING",
"MATCH",
"NO_MATCH",
]
ComparisonOperatorType#
# ComparisonOperatorType usage example
from mypy_boto3_wafv2.literals import ComparisonOperatorType
def get_value() -> ComparisonOperatorType:
return "EQ"
# ComparisonOperatorType definition
ComparisonOperatorType = Literal[
"EQ",
"GE",
"GT",
"LE",
"LT",
"NE",
]
CountryCodeType#
# CountryCodeType usage example
from mypy_boto3_wafv2.literals import CountryCodeType
def get_value() -> CountryCodeType:
return "AD"
# CountryCodeType definition
CountryCodeType = Literal[
"AD",
"AE",
"AF",
"AG",
"AI",
"AL",
"AM",
"AO",
"AQ",
"AR",
"AS",
"AT",
"AU",
"AW",
"AX",
"AZ",
"BA",
"BB",
"BD",
"BE",
"BF",
"BG",
"BH",
"BI",
"BJ",
"BL",
"BM",
"BN",
"BO",
"BQ",
"BR",
"BS",
"BT",
"BV",
"BW",
"BY",
"BZ",
"CA",
"CC",
"CD",
"CF",
"CG",
"CH",
"CI",
"CK",
"CL",
"CM",
"CN",
"CO",
"CR",
"CU",
"CV",
"CW",
"CX",
"CY",
"CZ",
"DE",
"DJ",
"DK",
"DM",
"DO",
"DZ",
"EC",
"EE",
"EG",
"EH",
"ER",
"ES",
"ET",
"FI",
"FJ",
"FK",
"FM",
"FO",
"FR",
"GA",
"GB",
"GD",
"GE",
"GF",
"GG",
"GH",
"GI",
"GL",
"GM",
"GN",
"GP",
"GQ",
"GR",
"GS",
"GT",
"GU",
"GW",
"GY",
"HK",
"HM",
"HN",
"HR",
"HT",
"HU",
"ID",
"IE",
"IL",
"IM",
"IN",
"IO",
"IQ",
"IR",
"IS",
"IT",
"JE",
"JM",
"JO",
"JP",
"KE",
"KG",
"KH",
"KI",
"KM",
"KN",
"KP",
"KR",
"KW",
"KY",
"KZ",
"LA",
"LB",
"LC",
"LI",
"LK",
"LR",
"LS",
"LT",
"LU",
"LV",
"LY",
"MA",
"MC",
"MD",
"ME",
"MF",
"MG",
"MH",
"MK",
"ML",
"MM",
"MN",
"MO",
"MP",
"MQ",
"MR",
"MS",
"MT",
"MU",
"MV",
"MW",
"MX",
"MY",
"MZ",
"NA",
"NC",
"NE",
"NF",
"NG",
"NI",
"NL",
"NO",
"NP",
"NR",
"NU",
"NZ",
"OM",
"PA",
"PE",
"PF",
"PG",
"PH",
"PK",
"PL",
"PM",
"PN",
"PR",
"PS",
"PT",
"PW",
"PY",
"QA",
"RE",
"RO",
"RS",
"RU",
"RW",
"SA",
"SB",
"SC",
"SD",
"SE",
"SG",
"SH",
"SI",
"SJ",
"SK",
"SL",
"SM",
"SN",
"SO",
"SR",
"SS",
"ST",
"SV",
"SX",
"SY",
"SZ",
"TC",
"TD",
"TF",
"TG",
"TH",
"TJ",
"TK",
"TL",
"TM",
"TN",
"TO",
"TR",
"TT",
"TV",
"TW",
"TZ",
"UA",
"UG",
"UM",
"US",
"UY",
"UZ",
"VA",
"VC",
"VE",
"VG",
"VI",
"VN",
"VU",
"WF",
"WS",
"XK",
"YE",
"YT",
"ZA",
"ZM",
"ZW",
]
FailureReasonType#
# FailureReasonType usage example
from mypy_boto3_wafv2.literals import FailureReasonType
def get_value() -> FailureReasonType:
return "TOKEN_DOMAIN_MISMATCH"
# FailureReasonType definition
FailureReasonType = Literal[
"TOKEN_DOMAIN_MISMATCH",
"TOKEN_EXPIRED",
"TOKEN_INVALID",
"TOKEN_MISSING",
]
FallbackBehaviorType#
# FallbackBehaviorType usage example
from mypy_boto3_wafv2.literals import FallbackBehaviorType
def get_value() -> FallbackBehaviorType:
return "MATCH"
# FallbackBehaviorType definition
FallbackBehaviorType = Literal[
"MATCH",
"NO_MATCH",
]
FilterBehaviorType#
# FilterBehaviorType usage example
from mypy_boto3_wafv2.literals import FilterBehaviorType
def get_value() -> FilterBehaviorType:
return "DROP"
# FilterBehaviorType definition
FilterBehaviorType = Literal[
"DROP",
"KEEP",
]
FilterRequirementType#
# FilterRequirementType usage example
from mypy_boto3_wafv2.literals import FilterRequirementType
def get_value() -> FilterRequirementType:
return "MEETS_ALL"
# FilterRequirementType definition
FilterRequirementType = Literal[
"MEETS_ALL",
"MEETS_ANY",
]
ForwardedIPPositionType#
# ForwardedIPPositionType usage example
from mypy_boto3_wafv2.literals import ForwardedIPPositionType
def get_value() -> ForwardedIPPositionType:
return "ANY"
# ForwardedIPPositionType definition
ForwardedIPPositionType = Literal[
"ANY",
"FIRST",
"LAST",
]
IPAddressVersionType#
# IPAddressVersionType usage example
from mypy_boto3_wafv2.literals import IPAddressVersionType
def get_value() -> IPAddressVersionType:
return "IPV4"
# IPAddressVersionType definition
IPAddressVersionType = Literal[
"IPV4",
"IPV6",
]
InspectionLevelType#
# InspectionLevelType usage example
from mypy_boto3_wafv2.literals import InspectionLevelType
def get_value() -> InspectionLevelType:
return "COMMON"
# InspectionLevelType definition
InspectionLevelType = Literal[
"COMMON",
"TARGETED",
]
JsonMatchScopeType#
# JsonMatchScopeType usage example
from mypy_boto3_wafv2.literals import JsonMatchScopeType
def get_value() -> JsonMatchScopeType:
return "ALL"
# JsonMatchScopeType definition
JsonMatchScopeType = Literal[
"ALL",
"KEY",
"VALUE",
]
LabelMatchScopeType#
# LabelMatchScopeType usage example
from mypy_boto3_wafv2.literals import LabelMatchScopeType
def get_value() -> LabelMatchScopeType:
return "LABEL"
# LabelMatchScopeType definition
LabelMatchScopeType = Literal[
"LABEL",
"NAMESPACE",
]
LogScopeType#
# LogScopeType usage example
from mypy_boto3_wafv2.literals import LogScopeType
def get_value() -> LogScopeType:
return "CUSTOMER"
# LogScopeType definition
LogScopeType = Literal[
"CUSTOMER",
"SECURITY_LAKE",
]
LogTypeType#
# LogTypeType usage example
from mypy_boto3_wafv2.literals import LogTypeType
def get_value() -> LogTypeType:
return "WAF_LOGS"
# LogTypeType definition
LogTypeType = Literal[
"WAF_LOGS",
]
MapMatchScopeType#
# MapMatchScopeType usage example
from mypy_boto3_wafv2.literals import MapMatchScopeType
def get_value() -> MapMatchScopeType:
return "ALL"
# MapMatchScopeType definition
MapMatchScopeType = Literal[
"ALL",
"KEY",
"VALUE",
]
OversizeHandlingType#
# OversizeHandlingType usage example
from mypy_boto3_wafv2.literals import OversizeHandlingType
def get_value() -> OversizeHandlingType:
return "CONTINUE"
# OversizeHandlingType definition
OversizeHandlingType = Literal[
"CONTINUE",
"MATCH",
"NO_MATCH",
]
PayloadTypeType#
# PayloadTypeType usage example
from mypy_boto3_wafv2.literals import PayloadTypeType
def get_value() -> PayloadTypeType:
return "FORM_ENCODED"
# PayloadTypeType definition
PayloadTypeType = Literal[
"FORM_ENCODED",
"JSON",
]
PlatformType#
# PlatformType usage example
from mypy_boto3_wafv2.literals import PlatformType
def get_value() -> PlatformType:
return "ANDROID"
# PlatformType definition
PlatformType = Literal[
"ANDROID",
"IOS",
]
PositionalConstraintType#
# PositionalConstraintType usage example
from mypy_boto3_wafv2.literals import PositionalConstraintType
def get_value() -> PositionalConstraintType:
return "CONTAINS"
# PositionalConstraintType definition
PositionalConstraintType = Literal[
"CONTAINS",
"CONTAINS_WORD",
"ENDS_WITH",
"EXACTLY",
"STARTS_WITH",
]
RateBasedStatementAggregateKeyTypeType#
# RateBasedStatementAggregateKeyTypeType usage example
from mypy_boto3_wafv2.literals import RateBasedStatementAggregateKeyTypeType
def get_value() -> RateBasedStatementAggregateKeyTypeType:
return "CONSTANT"
# RateBasedStatementAggregateKeyTypeType definition
RateBasedStatementAggregateKeyTypeType = Literal[
"CONSTANT",
"CUSTOM_KEYS",
"FORWARDED_IP",
"IP",
]
ResourceTypeType#
# ResourceTypeType usage example
from mypy_boto3_wafv2.literals import ResourceTypeType
def get_value() -> ResourceTypeType:
return "API_GATEWAY"
# ResourceTypeType definition
ResourceTypeType = Literal[
"API_GATEWAY",
"APP_RUNNER_SERVICE",
"APPLICATION_LOAD_BALANCER",
"APPSYNC",
"COGNITO_USER_POOL",
"VERIFIED_ACCESS_INSTANCE",
]
ResponseContentTypeType#
# ResponseContentTypeType usage example
from mypy_boto3_wafv2.literals import ResponseContentTypeType
def get_value() -> ResponseContentTypeType:
return "APPLICATION_JSON"
# ResponseContentTypeType definition
ResponseContentTypeType = Literal[
"APPLICATION_JSON",
"TEXT_HTML",
"TEXT_PLAIN",
]
ScopeType#
# ScopeType usage example
from mypy_boto3_wafv2.literals import ScopeType
def get_value() -> ScopeType:
return "CLOUDFRONT"
# ScopeType definition
ScopeType = Literal[
"CLOUDFRONT",
"REGIONAL",
]
SensitivityLevelType#
# SensitivityLevelType usage example
from mypy_boto3_wafv2.literals import SensitivityLevelType
def get_value() -> SensitivityLevelType:
return "HIGH"
# SensitivityLevelType definition
SensitivityLevelType = Literal[
"HIGH",
"LOW",
]
SizeInspectionLimitType#
# SizeInspectionLimitType usage example
from mypy_boto3_wafv2.literals import SizeInspectionLimitType
def get_value() -> SizeInspectionLimitType:
return "KB_16"
# SizeInspectionLimitType definition
SizeInspectionLimitType = Literal[
"KB_16",
"KB_32",
"KB_48",
"KB_64",
]
TextTransformationTypeType#
# TextTransformationTypeType usage example
from mypy_boto3_wafv2.literals import TextTransformationTypeType
def get_value() -> TextTransformationTypeType:
return "BASE64_DECODE"
# TextTransformationTypeType definition
TextTransformationTypeType = Literal[
"BASE64_DECODE",
"BASE64_DECODE_EXT",
"CMD_LINE",
"COMPRESS_WHITE_SPACE",
"CSS_DECODE",
"ESCAPE_SEQ_DECODE",
"HEX_DECODE",
"HTML_ENTITY_DECODE",
"JS_DECODE",
"LOWERCASE",
"MD5",
"NONE",
"NORMALIZE_PATH",
"NORMALIZE_PATH_WIN",
"REMOVE_NULLS",
"REPLACE_COMMENTS",
"REPLACE_NULLS",
"SQL_HEX_DECODE",
"URL_DECODE",
"URL_DECODE_UNI",
"UTF8_TO_UNICODE",
]
WAFV2ServiceName#
# WAFV2ServiceName usage example
from mypy_boto3_wafv2.literals import WAFV2ServiceName
def get_value() -> WAFV2ServiceName:
return "wafv2"
# WAFV2ServiceName definition
WAFV2ServiceName = Literal[
"wafv2",
]
ServiceName#
# ServiceName usage example
from mypy_boto3_wafv2.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",
"backupsearch",
"batch",
"bcm-data-exports",
"bcm-pricing-calculator",
"bedrock",
"bedrock-agent",
"bedrock-agent-runtime",
"bedrock-data-automation",
"bedrock-data-automation-runtime",
"bedrock-runtime",
"billing",
"billingconductor",
"braket",
"budgets",
"ce",
"chatbot",
"chime",
"chime-sdk-identity",
"chime-sdk-media-pipelines",
"chime-sdk-meetings",
"chime-sdk-messaging",
"chime-sdk-voice",
"cleanrooms",
"cleanroomsml",
"cloud9",
"cloudcontrol",
"clouddirectory",
"cloudformation",
"cloudfront",
"cloudfront-keyvaluestore",
"cloudhsm",
"cloudhsmv2",
"cloudsearch",
"cloudsearchdomain",
"cloudtrail",
"cloudtrail-data",
"cloudwatch",
"codeartifact",
"codebuild",
"codecatalyst",
"codecommit",
"codeconnections",
"codedeploy",
"codeguru-reviewer",
"codeguru-security",
"codeguruprofiler",
"codepipeline",
"codestar-connections",
"codestar-notifications",
"cognito-identity",
"cognito-idp",
"cognito-sync",
"comprehend",
"comprehendmedical",
"compute-optimizer",
"config",
"connect",
"connect-contact-lens",
"connectcampaigns",
"connectcampaignsv2",
"connectcases",
"connectparticipant",
"controlcatalog",
"controltower",
"cost-optimization-hub",
"cur",
"customer-profiles",
"databrew",
"dataexchange",
"datapipeline",
"datasync",
"datazone",
"dax",
"deadline",
"detective",
"devicefarm",
"devops-guru",
"directconnect",
"discovery",
"dlm",
"dms",
"docdb",
"docdb-elastic",
"drs",
"ds",
"ds-data",
"dsql",
"dynamodb",
"dynamodbstreams",
"ebs",
"ec2",
"ec2-instance-connect",
"ecr",
"ecr-public",
"ecs",
"efs",
"eks",
"eks-auth",
"elastic-inference",
"elasticache",
"elasticbeanstalk",
"elastictranscoder",
"elb",
"elbv2",
"emr",
"emr-containers",
"emr-serverless",
"entityresolution",
"es",
"events",
"evidently",
"finspace",
"finspace-data",
"firehose",
"fis",
"fms",
"forecast",
"forecastquery",
"frauddetector",
"freetier",
"fsx",
"gamelift",
"geo-maps",
"geo-places",
"geo-routes",
"glacier",
"globalaccelerator",
"glue",
"grafana",
"greengrass",
"greengrassv2",
"groundstation",
"guardduty",
"health",
"healthlake",
"iam",
"identitystore",
"imagebuilder",
"importexport",
"inspector",
"inspector-scan",
"inspector2",
"internetmonitor",
"invoicing",
"iot",
"iot-data",
"iot-jobs-data",
"iot1click-devices",
"iot1click-projects",
"iotanalytics",
"iotdeviceadvisor",
"iotevents",
"iotevents-data",
"iotfleethub",
"iotfleetwise",
"iotsecuretunneling",
"iotsitewise",
"iotthingsgraph",
"iottwinmaker",
"iotwireless",
"ivs",
"ivs-realtime",
"ivschat",
"kafka",
"kafkaconnect",
"kendra",
"kendra-ranking",
"keyspaces",
"kinesis",
"kinesis-video-archived-media",
"kinesis-video-media",
"kinesis-video-signaling",
"kinesis-video-webrtc-storage",
"kinesisanalytics",
"kinesisanalyticsv2",
"kinesisvideo",
"kms",
"lakeformation",
"lambda",
"launch-wizard",
"lex-models",
"lex-runtime",
"lexv2-models",
"lexv2-runtime",
"license-manager",
"license-manager-linux-subscriptions",
"license-manager-user-subscriptions",
"lightsail",
"location",
"logs",
"lookoutequipment",
"lookoutmetrics",
"lookoutvision",
"m2",
"machinelearning",
"macie2",
"mailmanager",
"managedblockchain",
"managedblockchain-query",
"marketplace-agreement",
"marketplace-catalog",
"marketplace-deployment",
"marketplace-entitlement",
"marketplace-reporting",
"marketplacecommerceanalytics",
"mediaconnect",
"mediaconvert",
"medialive",
"mediapackage",
"mediapackage-vod",
"mediapackagev2",
"mediastore",
"mediastore-data",
"mediatailor",
"medical-imaging",
"memorydb",
"meteringmarketplace",
"mgh",
"mgn",
"migration-hub-refactor-spaces",
"migrationhub-config",
"migrationhuborchestrator",
"migrationhubstrategy",
"mq",
"mturk",
"mwaa",
"neptune",
"neptune-graph",
"neptunedata",
"network-firewall",
"networkflowmonitor",
"networkmanager",
"networkmonitor",
"notifications",
"notificationscontacts",
"oam",
"observabilityadmin",
"omics",
"opensearch",
"opensearchserverless",
"opsworks",
"opsworkscm",
"organizations",
"osis",
"outposts",
"panorama",
"partnercentral-selling",
"payment-cryptography",
"payment-cryptography-data",
"pca-connector-ad",
"pca-connector-scep",
"pcs",
"personalize",
"personalize-events",
"personalize-runtime",
"pi",
"pinpoint",
"pinpoint-email",
"pinpoint-sms-voice",
"pinpoint-sms-voice-v2",
"pipes",
"polly",
"pricing",
"privatenetworks",
"proton",
"qapps",
"qbusiness",
"qconnect",
"qldb",
"qldb-session",
"quicksight",
"ram",
"rbin",
"rds",
"rds-data",
"redshift",
"redshift-data",
"redshift-serverless",
"rekognition",
"repostspace",
"resiliencehub",
"resource-explorer-2",
"resource-groups",
"resourcegroupstaggingapi",
"robomaker",
"rolesanywhere",
"route53",
"route53-recovery-cluster",
"route53-recovery-control-config",
"route53-recovery-readiness",
"route53domains",
"route53profiles",
"route53resolver",
"rum",
"s3",
"s3control",
"s3outposts",
"s3tables",
"sagemaker",
"sagemaker-a2i-runtime",
"sagemaker-edge",
"sagemaker-featurestore-runtime",
"sagemaker-geospatial",
"sagemaker-metrics",
"sagemaker-runtime",
"savingsplans",
"scheduler",
"schemas",
"sdb",
"secretsmanager",
"security-ir",
"securityhub",
"securitylake",
"serverlessrepo",
"service-quotas",
"servicecatalog",
"servicecatalog-appregistry",
"servicediscovery",
"ses",
"sesv2",
"shield",
"signer",
"simspaceweaver",
"sms",
"sms-voice",
"snow-device-management",
"snowball",
"sns",
"socialmessaging",
"sqs",
"ssm",
"ssm-contacts",
"ssm-incidents",
"ssm-quicksetup",
"ssm-sap",
"sso",
"sso-admin",
"sso-oidc",
"stepfunctions",
"storagegateway",
"sts",
"supplychain",
"support",
"support-app",
"swf",
"synthetics",
"taxsettings",
"textract",
"timestream-influxdb",
"timestream-query",
"timestream-write",
"tnb",
"transcribe",
"transfer",
"translate",
"trustedadvisor",
"verifiedpermissions",
"voice-id",
"vpc-lattice",
"waf",
"waf-regional",
"wafv2",
"wellarchitected",
"wisdom",
"workdocs",
"workmail",
"workmailmessageflow",
"workspaces",
"workspaces-thin-client",
"workspaces-web",
"xray",
]
ResourceServiceName#
# ResourceServiceName usage example
from mypy_boto3_wafv2.literals import ResourceServiceName
def get_value() -> ResourceServiceName:
return "cloudformation"
# ResourceServiceName definition
ResourceServiceName = Literal[
"cloudformation",
"cloudwatch",
"dynamodb",
"ec2",
"glacier",
"iam",
"opsworks",
"s3",
"sns",
"sqs",
]
RegionName#
# RegionName usage example
from mypy_boto3_wafv2.literals import RegionName
def get_value() -> RegionName:
return "af-south-1"
# RegionName definition
RegionName = Literal[
"af-south-1",
"ap-east-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-south-1",
"ap-south-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-southeast-3",
"ap-southeast-4",
"ap-southeast-5",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-north-1",
"eu-south-1",
"eu-south-2",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"il-central-1",
"me-central-1",
"me-south-1",
"sa-east-1",
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
]