# WebAclCustomizationProperty

The AWS WAF web ACL customization specified for the distribution tenant.

- Source: Generated at build time
- Type last changed: v2.194.0 · 2 May 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_cloudfront as cloudfront } from 'aws-cdk-lib';
const webAclCustomizationProperty: cloudfront.CfnDistributionTenant.WebAclCustomizationProperty = {
  action: 'action',
  arn: 'arn',
};
```

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_cloudfront as cloudfront

web_acl_customization_property = cloudfront.CfnDistributionTenant.WebAclCustomizationProperty(
    action="action",
    arn="arn"
)
```

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

WebAclCustomizationProperty webAclCustomizationProperty = WebAclCustomizationProperty.builder()
        .action("action")
        .arn("arn")
        .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.CloudFront;

var webAclCustomizationProperty = new WebAclCustomizationProperty {
    Action = "action",
    Arn = "arn"
};
```

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"

webAclCustomizationProperty := &WebAclCustomizationProperty{
	Action: jsii.String("action"),
	Arn: jsii.String("arn"),
}
```

## Properties

- `action`: string — The action for the AWS WAF web ACL customization.

  You can specify `override` to specify a separate AWS WAF web ACL for the distribution tenant. If you specify `disable` , the distribution tenant won't have AWS WAF web ACL protections and won't inherit from the multi-tenant distribution.

- `arn`: string — The Amazon Resource Name (ARN) of the AWS WAF web ACL.
