Skip to content

CreateRegexPatternSetRequest

Source code in docs_src/capo_wafv2/types/create_regex_pattern_set_request.py
class CreateRegexPatternSetRequest(TypedDict, closed=True):
    name: "capo_wafv2.types.entity_name.EntityName"
    """<p>The name of the set. You cannot change the name after you create the set.</p>"""
    scope: "capo_wafv2.types.scope.Scope"
    """<p>Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use <code>CLOUDFRONT</code>.</p> <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p> <ul> <li> <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p> </li> <li> <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p> </li> </ul>"""
    description: NotRequired["capo_wafv2.types.entity_description.EntityDescription"]
    """<p>A description of the set that helps with identification. </p>"""
    regular_expression_list: (
        "capo_wafv2.types.regular_expression_list.RegularExpressionList"
    )
    """<p>Array of regular expression strings. </p>"""
    tags: NotRequired["capo_wafv2.types.tag_list.TagList"]
    """<p>An array of key:value pairs to associate with the resource.</p>"""

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.

tags instance-attribute

tags: NotRequired[TagList]

An array of key:value pairs to associate with the resource.