Skip to content
v2.278.0

WafConfigProperty Struct ​

WAF-specific policy settings.

Populated only for WAF firewall type policies.

Example ​

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
# 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
// 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();
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"
};
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 ​

conflictResolutionstringconflict_resolutionstrconflictResolutionStringConflictResolutionstringConflictResolution*string required #
Conflict-resolution strategy applied to AWS WAF policies.
existingCustomerWebAclResolutionstringexisting_customer_web_acl_resolutionstrexistingCustomerWebAclResolutionStringExistingCustomerWebAclResolutionstringExistingCustomerWebAclResolution*string required #
Controls how Network Security Manager handles remediation when a resource already has a customer-created WebACL.