# WebACLReference

A reference to a WebACL 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_wafv2 as interfaces_wafv2 } from 'aws-cdk-lib/interfaces';
const webACLReference: interfaces_wafv2.WebACLReference = {
  scope: 'scope',
  webAclArn: 'webAclArn',
  webAclId: 'webAclId',
  webAclName: 'webAclName',
};
```

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_wafv2 as interfaces_wafv2

web_acl_reference = interfaces_wafv2.WebACLReference(
    scope="scope",
    web_acl_arn="webAclArn",
    web_acl_id="webAclId",
    web_acl_name="webAclName"
)
```

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.wafv2.*;

WebACLReference webACLReference = WebACLReference.builder()
        .scope("scope")
        .webAclArn("webAclArn")
        .webAclId("webAclId")
        .webAclName("webAclName")
        .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.WAFv2;

var webACLReference = new WebACLReference {
    Scope = "scope",
    WebAclArn = "webAclArn",
    WebAclId = "webAclId",
    WebAclName = "webAclName"
};
```

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"

webACLReference := &WebACLReference{
	Scope: jsii.String("scope"),
	WebAclArn: jsii.String("webAclArn"),
	WebAclId: jsii.String("webAclId"),
	WebAclName: jsii.String("webAclName"),
}
```

## Properties

- `scope`: string (required) — The Scope of the WebACL resource.

- `webAclArn`: string (required) — The ARN of the WebACL resource.

- `webAclId`: string (required) — The Id of the WebACL resource.

- `webAclName`: string (required) — The Name of the WebACL resource.
