Interface CfnWebACL.IFieldToProtectProperty
Specifies a field type and keys to protect in stored web request data.
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnWebACL.IFieldToProtectProperty
Syntax (vb)
Public Interface CfnWebACL.IFieldToProtectProperty
Remarks
This is part of the data protection configuration for a web ACL.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAFv2;
var fieldToProtectProperty = new FieldToProtectProperty {
FieldType = "fieldType",
// the properties below are optional
FieldKeys = new [] { "fieldKeys" }
};
Synopsis
Properties
| FieldKeys | Specifies the keys to protect for the specified field type. |
| FieldType | Specifies the web request component type to protect. |
Properties
FieldKeys
Specifies the keys to protect for the specified field type.
string[]? FieldKeys { get; }
Property Value
string[]
Remarks
If you don't specify any key, then all keys for the field type are protected.
FieldType
Specifies the web request component type to protect.
string FieldType { get; }