AwsWafv2RegexPatternSetDualScopeArgs

interface AwsWafv2RegexPatternSetDualScopeArgs extends Omit<aws.wafv2.RegexPatternSetArgs, 'name' | 'scope' | 'tags'> { createBothScopes?: true; description?: Input<string | undefined>; name: string; namePrefix?: Input<string | undefined>; region?: Input<string | undefined>; regularExpressions?: Input<Input<RegexPatternSetRegularExpression>[] | undefined>; scope?: undefined; tags?: Input<Record<string, Input<string>>>; }

Input arguments for the WAFv2 regex-pattern-set capability.

Example

CODE
const regexPatternSetArgs: AwsWafv2RegexPatternSetArgs = {
  name: 'knownBadPaths',
  regularExpressions: [{ regexString: '^/private' }],
};

Hierarchy

  • RegexPatternSetArgs, "name" | "scope" | "tags">
  • AwsWafv2RegexPatternSetDualScopeArgs

Properties

createBothScopes: true

Dual-scope mode. Creates one REGIONAL regex pattern set and one CLOUDFRONT regex pattern set (in us-east-1).

Remarks

This mode is the default when createBothScopes is omitted.

description: Input<string | undefined>

Inherited from description

A friendly description of the regular expression pattern set.

name: string

Required purpose name used to derive the AWS resource name.

Remarks

This value is also used as the Pulumi logical identity and must be a plain, non-empty synchronous value resolved at preview time (not Input/Output/promise-derived).

namePrefix: Input<string | undefined>

Inherited from namePrefix

Creates a unique name beginning with the specified prefix. Conflicts with name.

region: Input<string | undefined>

Inherited from region

Region where this resource will be managed. Defaults to the Region set in the provider configuration.

regularExpressions: Input<Input<RegexPatternSetRegularExpression>[] | undefined>

Inherited from 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: undefined

Not allowed in dual-scope mode.

tags: Input<Record<string, Input<string>>>

Additional tags merged with default project/environment tags.