RegexPatternSet

Contains a list of Regular expressions based on the provided inputs. RegexPatternSet can be used with other WAF entities with RegexPatternSetReferenceStatement to perform other actions .

Create a RegexPatternSet Resource

new RegexPatternSet(name: string, args: RegexPatternSetArgs, opts?: CustomResourceOptions);
@overload
def RegexPatternSet(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None,
                    regular_expression_list: Optional[Sequence[str]] = None,
                    scope: Optional[RegexPatternSetScope] = None,
                    tags: Optional[Sequence[RegexPatternSetTagArgs]] = None)
@overload
def RegexPatternSet(resource_name: str,
                    args: RegexPatternSetArgs,
                    opts: Optional[ResourceOptions] = None)
func NewRegexPatternSet(ctx *Context, name string, args RegexPatternSetArgs, opts ...ResourceOption) (*RegexPatternSet, error)
public RegexPatternSet(string name, RegexPatternSetArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args RegexPatternSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args RegexPatternSetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RegexPatternSetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RegexPatternSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

RegexPatternSet Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The RegexPatternSet resource accepts the following input properties:

RegularExpressionList List<string>
Scope Pulumi.AwsNative.WAFv2.RegexPatternSetScope
Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
Description string
Description of the entity.
Name string
Name of the RegexPatternSet.
Tags List<Pulumi.AwsNative.WAFv2.Inputs.RegexPatternSetTagArgs>
RegularExpressionList []string
Scope RegexPatternSetScope
Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
Description string
Description of the entity.
Name string
Name of the RegexPatternSet.
Tags []RegexPatternSetTagArgs
regularExpressionList string[]
scope RegexPatternSetScope
Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
description string
Description of the entity.
name string
Name of the RegexPatternSet.
tags RegexPatternSetTagArgs[]
regular_expression_list Sequence[str]
scope RegexPatternSetScope
Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
description str
Description of the entity.
name str
Name of the RegexPatternSet.
tags Sequence[RegexPatternSetTagArgs]

Outputs

All input properties are implicitly available as output properties. Additionally, the RegexPatternSet resource produces the following output properties:

Arn string
ARN of the WAF entity.
Id string
The provider-assigned unique ID for this managed resource.
Arn string
ARN of the WAF entity.
Id string
The provider-assigned unique ID for this managed resource.
arn string
ARN of the WAF entity.
id string
The provider-assigned unique ID for this managed resource.
arn str
ARN of the WAF entity.
id str
The provider-assigned unique ID for this managed resource.

Supporting Types

RegexPatternSetScope

Cloudfront
CLOUDFRONT
Regional
REGIONAL
RegexPatternSetScopeCloudfront
CLOUDFRONT
RegexPatternSetScopeRegional
REGIONAL
Cloudfront
CLOUDFRONT
Regional
REGIONAL
CLOUDFRONT
CLOUDFRONT
REGIONAL
REGIONAL

RegexPatternSetTag

Key string
Value string
Key string
Value string
key string
value string
key str
value str

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0