Class CfnWebACL.FieldIdentifierProperty
The identifier of a field in the web request payload that contains customer data.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWebACL.FieldIdentifierProperty : CfnWebACL.IFieldIdentifierProperty
Syntax (vb)
Public Class CfnWebACL.FieldIdentifierProperty Implements CfnWebACL.IFieldIdentifierProperty
Remarks
This data type is used to specify fields in the RequestInspection and RequestInspectionACFP configurations, which are used in the managed rule group configurations AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet , respectively.
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 fieldIdentifierProperty = new FieldIdentifierProperty {
Identifier = "identifier"
};
Synopsis
Constructors
| FieldIdentifierProperty() | The identifier of a field in the web request payload that contains customer data. |
Properties
| Identifier | The name of the field. |
Constructors
FieldIdentifierProperty()
The identifier of a field in the web request payload that contains customer data.
public FieldIdentifierProperty()
Remarks
This data type is used to specify fields in the RequestInspection and RequestInspectionACFP configurations, which are used in the managed rule group configurations AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet , respectively.
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 fieldIdentifierProperty = new FieldIdentifierProperty {
Identifier = "identifier"
};
Properties
Identifier
The name of the field.
public string Identifier { get; set; }
Property Value
Remarks
When the PayloadType in the request inspection is JSON , this identifier must be in JSON pointer syntax. For example /form/username . For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer .
When the PayloadType is FORM_ENCODED , use the HTML form names. For example, username .
For more information, see the descriptions for each field type in the request inspection properties.