class Aws::WAFV2::Types::CreateRegexPatternSetRequest

@note When making an API call, you may pass CreateRegexPatternSetRequest

data as a hash:

    {
      name: "EntityName", # required
      scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
      description: "EntityDescription",
      regular_expression_list: [ # required
        {
          regex_string: "RegexPatternString",
        },
      ],
      tags: [
        {
          key: "TagKey", # required
          value: "TagValue", # required
        },
      ],
    }

@!attribute [rw] name

The name of the set. You cannot change the name after you create the
set.
@return [String]

@!attribute [rw] scope

Specifies whether this is for an Amazon CloudFront distribution or
for a regional application. A regional application can be an
Application Load Balancer (ALB), an Amazon API Gateway REST API, or
an AppSync GraphQL API.

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.
@return [String]

@!attribute [rw] description

A description of the set that helps with identification.
@return [String]

@!attribute [rw] regular_expression_list

Array of regular expression strings.
@return [Array<Types::Regex>]

@!attribute [rw] tags

An array of key:value pairs to associate with the resource.
@return [Array<Types::Tag>]

@see docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateRegexPatternSetRequest AWS API Documentation

Constants

SENSITIVE