# CfnRegexPatternSetProps

Properties for defining a `CfnRegexPatternSet`.

Used as props by: [CfnRegexPatternSet](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wafregional.CfnRegexPatternSet.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafregional as wafregional } from 'aws-cdk-lib';
const cfnRegexPatternSetProps: wafregional.CfnRegexPatternSetProps = {
  name: 'name',
  regexPatternStrings: ['regexPatternStrings'],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wafregional as wafregional

cfn_regex_pattern_set_props = wafregional.CfnRegexPatternSetProps(
    name="name",
    regex_pattern_strings=["regexPatternStrings"]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.waf.regional.*;

CfnRegexPatternSetProps cfnRegexPatternSetProps = CfnRegexPatternSetProps.builder()
        .name("name")
        .regexPatternStrings(List.of("regexPatternStrings"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAFRegional;

var cfnRegexPatternSetProps = new CfnRegexPatternSetProps {
    Name = "name",
    RegexPatternStrings = new [] { "regexPatternStrings" }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnRegexPatternSetProps := &CfnRegexPatternSetProps{
	Name: jsii.String("name"),
	RegexPatternStrings: []*string{
		jsii.String("regexPatternStrings"),
	},
}
```

## Properties

- `name`: string (required) — A friendly name or description of the `RegexPatternSet` .

  You can't change `Name` after you create a `RegexPatternSet` .

- `regexPatternStrings`: string[] (required) — Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t` .
