interface FieldToProtectProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.WAFv2.CfnWebACL.FieldToProtectProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnWebACL_FieldToProtectProperty | 
|  Java | software.amazon.awscdk.services.wafv2.CfnWebACL.FieldToProtectProperty | 
|  Python | aws_cdk.aws_wafv2.CfnWebACL.FieldToProtectProperty | 
|  TypeScript | aws-cdk-lib»aws_wafv2»CfnWebACL»FieldToProtectProperty | 
Specifies a field type and keys to protect in stored web request data.
This is part of the data protection configuration for a web ACL.
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 fieldToProtectProperty: wafv2.CfnWebACL.FieldToProtectProperty = {
  fieldType: 'fieldType',
  // the properties below are optional
  fieldKeys: ['fieldKeys'],
};
Properties
| Name | Type | Description | 
|---|---|---|
| field | string | Specifies the web request component type to protect. | 
| field | string[] | Specifies the keys to protect for the specified field type. | 
fieldType
Type:
string
Specifies the web request component type to protect.
fieldKeys?
Type:
string[]
(optional)
Specifies the keys to protect for the specified field type.
If you don't specify any key, then all keys for the field type are protected.
