# WafConfigProperty

WAF-specific policy settings.

Populated only for WAF firewall type policies.

- Source: Generated at build time
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networksecuritymanager as networksecuritymanager } from 'aws-cdk-lib';
const wafConfigProperty: networksecuritymanager.CfnPolicy.WafConfigProperty = {
  conflictResolution: 'conflictResolution',
  existingCustomerWebAclResolution: 'existingCustomerWebAclResolution',
};
```

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_networksecuritymanager as networksecuritymanager

waf_config_property = networksecuritymanager.CfnPolicy.WafConfigProperty(
    conflict_resolution="conflictResolution",
    existing_customer_web_acl_resolution="existingCustomerWebAclResolution"
)
```

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

WafConfigProperty wafConfigProperty = WafConfigProperty.builder()
        .conflictResolution("conflictResolution")
        .existingCustomerWebAclResolution("existingCustomerWebAclResolution")
        .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.NetworkSecurityManager;

var wafConfigProperty = new WafConfigProperty {
    ConflictResolution = "conflictResolution",
    ExistingCustomerWebAclResolution = "existingCustomerWebAclResolution"
};
```

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"

wafConfigProperty := &WafConfigProperty{
	ConflictResolution: jsii.String("conflictResolution"),
	ExistingCustomerWebAclResolution: jsii.String("existingCustomerWebAclResolution"),
}
```

## Properties

- `conflictResolution`: string (required) — Conflict-resolution strategy applied to AWS WAF policies.

- `existingCustomerWebAclResolution`: string (required) — Controls how Network Security Manager handles remediation when a resource already has a customer-created WebACL.
