CreateRegexPatternSetRequest
¶
Source code in docs_src/capo_wafv2/types/create_regex_pattern_set_request.py
description
instance-attribute
¶
description: NotRequired[EntityDescription]
A description of the set that helps with identification.
name
instance-attribute
¶
name: EntityName
The name of the set. You cannot change the name after you create the set.
regular_expression_list
instance-attribute
¶
regular_expression_list: RegularExpressionList
Array of regular expression strings.
scope
instance-attribute
¶
scope: Scope
Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1. -
API and SDKs - For all calls, use the Region endpoint us-east-1.