# RegexPatternSetReference

A reference to a RegexPatternSet resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## 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 interfaces_wafregional } from 'aws-cdk-lib/interfaces';
const regexPatternSetReference: interfaces_wafregional.RegexPatternSetReference = {
  regexPatternSetId: 'regexPatternSetId',
};
```

Python:

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

regex_pattern_set_reference = interfaces_wafregional.RegexPatternSetReference(
    regex_pattern_set_id="regexPatternSetId"
)
```

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.interfaces.regional.*;

RegexPatternSetReference regexPatternSetReference = RegexPatternSetReference.builder()
        .regexPatternSetId("regexPatternSetId")
        .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.Interfaces.WAFRegional;

var regexPatternSetReference = new RegexPatternSetReference {
    RegexPatternSetId = "regexPatternSetId"
};
```

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"

regexPatternSetReference := &RegexPatternSetReference{
	RegexPatternSetId: jsii.String("regexPatternSetId"),
}
```

## Properties

- `regexPatternSetId`: string (required) — The Id of the RegexPatternSet resource.
