RegexPatternSetArgs constructor
Creates a new RegexPatternSetArgs.
description A friendly description of the regular expression pattern set.
name A friendly name of the regular expression pattern set. If omitted, the provider will assign a random, unique name. Conflicts with namePrefix.
namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
regularExpressions One or more blocks of regular expression patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t. See Regular Expression below for details.
scope Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are CLOUDFRONT or REGIONAL. To work with CloudFront, you must also specify the region us-east-1 (N. Virginia) on the AWS provider.
tags An array of key:value pairs to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementation
const RegexPatternSetArgs({
this.description,
this.name,
this.namePrefix,
this.region,
this.regularExpressions,
required this.scope,
this.tags,
});