interface DataProtectProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WAFv2.CfnWebACL.DataProtectProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnWebACL_DataProtectProperty |
Java | software.amazon.awscdk.services.wafv2.CfnWebACL.DataProtectProperty |
Python | aws_cdk.aws_wafv2.CfnWebACL.DataProtectProperty |
TypeScript | aws-cdk-lib » aws_wafv2 » CfnWebACL » DataProtectProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const dataProtectProperty: wafv2.CfnWebACL.DataProtectProperty = {
action: 'action',
field: {
fieldType: 'fieldType',
// the properties below are optional
fieldKeys: ['fieldKeys'],
},
// the properties below are optional
excludeRateBasedDetails: false,
excludeRuleMatchDetails: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| action | string | |
| field | IResolvable | Field | Field in log to protect. |
| exclude | boolean | IResolvable | |
| exclude | boolean | IResolvable |
action
Type:
string
field
Type:
IResolvable | Field
Field in log to protect.
excludeRateBasedDetails?
Type:
boolean | IResolvable
(optional)
excludeRuleMatchDetails?
Type:
boolean | IResolvable
(optional)

.NET
Go
Java
Python
TypeScript