# PolicyConfigurationProperty

Configuration settings for policy behavior.

- 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 policyConfigurationProperty: networksecuritymanager.CfnPolicy.PolicyConfigurationProperty = {
  remediationEnabled: false,
  resourcesCleanUp: false,
  wafConfig: {
    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

policy_configuration_property = networksecuritymanager.CfnPolicy.PolicyConfigurationProperty(
    remediation_enabled=False,
    resources_clean_up=False,
    waf_config=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.*;

PolicyConfigurationProperty policyConfigurationProperty = PolicyConfigurationProperty.builder()
        .remediationEnabled(false)
        .resourcesCleanUp(false)
        .wafConfig(WafConfigProperty.builder()
                .conflictResolution("conflictResolution")
                .existingCustomerWebAclResolution("existingCustomerWebAclResolution")
                .build())
        .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 policyConfigurationProperty = new PolicyConfigurationProperty {
    RemediationEnabled = false,
    ResourcesCleanUp = false,
    WafConfig = 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"

policyConfigurationProperty := &PolicyConfigurationProperty{
	RemediationEnabled: jsii.Boolean(false),
	ResourcesCleanUp: jsii.Boolean(false),
	WafConfig: &WafConfigProperty{
		ConflictResolution: jsii.String("conflictResolution"),
		ExistingCustomerWebAclResolution: jsii.String("existingCustomerWebAclResolution"),
	},
}
```

## Properties

- `remediationEnabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Controls automatic remediation of non-compliant resources.

- `resourcesCleanUp`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Controls automatic cleanup of unused resources.

- `wafConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPolicy.WafConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networksecuritymanager.CfnPolicy.WafConfigProperty.html) — WAF-specific policy settings.

  Populated only for WAF firewall type policies.
