interface FieldToProtectProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins.CfnWebACLPropsMixin.FieldToProtectProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafv2/mixins#CfnWebACLPropsMixin_FieldToProtectProperty |
Java | software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnWebACLPropsMixin.FieldToProtectProperty |
Python | aws_cdk.mixins_preview.aws_wafv2.mixins.CfnWebACLPropsMixin.FieldToProtectProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wafv2 » mixins » CfnWebACLPropsMixin » 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 { mixins as wafv2_mixins } from '@aws-cdk/mixins-preview/aws-wafv2';
const fieldToProtectProperty: wafv2_mixins.CfnWebACLPropsMixin.FieldToProtectProperty = {
fieldKeys: ['fieldKeys'],
fieldType: 'fieldType',
};
Properties
| Name | Type | Description |
|---|---|---|
| field | string[] | Specifies the keys to protect for the specified field type. |
| field | 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.
fieldType?
Type:
string
(optional)
Specifies the web request component type to protect.

.NET
Go
Java
Python
TypeScript