Class CfnWebACL.DataProtectionConfigProperty
Specifies data protection to apply to the web request data for the web ACL.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWebACL.DataProtectionConfigProperty : CfnWebACL.IDataProtectionConfigProperty
Syntax (vb)
Public Class CfnWebACL.DataProtectionConfigProperty Implements CfnWebACL.IDataProtectionConfigProperty
Remarks
This is a web ACL level data protection option.
The data protection that you configure for the web ACL alters the data that's available for any other data collection activity, including your AWS WAF logging destinations, web ACL request sampling, and Amazon Security Lake data collection and management. Your other option for data protection is in the logging configuration, which only affects logging.
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 dataProtectionConfigProperty = new DataProtectionConfigProperty {
DataProtections = new [] { new DataProtectProperty {
Action = "action",
Field = new FieldToProtectProperty {
FieldType = "fieldType",
// the properties below are optional
FieldKeys = new [] { "fieldKeys" }
},
// the properties below are optional
ExcludeRateBasedDetails = false,
ExcludeRuleMatchDetails = false
} }
};
Synopsis
Constructors
DataProtectionConfigProperty() | Specifies data protection to apply to the web request data for the web ACL. |
Properties
DataProtections | An array of data protection configurations for specific web request field types. |
Constructors
DataProtectionConfigProperty()
Specifies data protection to apply to the web request data for the web ACL.
public DataProtectionConfigProperty()
Remarks
This is a web ACL level data protection option.
The data protection that you configure for the web ACL alters the data that's available for any other data collection activity, including your AWS WAF logging destinations, web ACL request sampling, and Amazon Security Lake data collection and management. Your other option for data protection is in the logging configuration, which only affects logging.
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 dataProtectionConfigProperty = new DataProtectionConfigProperty {
DataProtections = new [] { new DataProtectProperty {
Action = "action",
Field = new FieldToProtectProperty {
FieldType = "fieldType",
// the properties below are optional
FieldKeys = new [] { "fieldKeys" }
},
// the properties below are optional
ExcludeRateBasedDetails = false,
ExcludeRuleMatchDetails = false
} }
};
Properties
DataProtections
An array of data protection configurations for specific web request field types.
public object DataProtections { get; set; }
Property Value
Remarks
This is defined for each web ACL. AWS WAF applies the specified protection to all web requests that the web ACL inspects.