Interface CfnWebACL.FieldToProtectProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWebACL.FieldToProtectProperty.Jsii$Proxy
- Enclosing class:
CfnWebACL
@Stability(Stable)
public static interface CfnWebACL.FieldToProtectProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.wafv2.*;
FieldToProtectProperty fieldToProtectProperty = FieldToProtectProperty.builder()
.fieldType("fieldType")
// the properties below are optional
.fieldKeys(List.of("fieldKeys"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWebACL.FieldToProtectPropertystatic final classAn implementation forCfnWebACL.FieldToProtectProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Specifies the keys to protect for the specified field type.Specifies the web request component type to protect.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFieldType
Specifies the web request component type to protect.- See Also:
-
getFieldKeys
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.
- See Also:
-
builder
-