interface FieldIdentifierProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.WAFv2.CfnWebACL.FieldIdentifierProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnWebACL_FieldIdentifierProperty |
![]() | software.amazon.awscdk.services.wafv2.CfnWebACL.FieldIdentifierProperty |
![]() | aws_cdk.aws_wafv2.CfnWebACL.FieldIdentifierProperty |
![]() | aws-cdk-lib » aws_wafv2 » CfnWebACL » FieldIdentifierProperty |
The identifier of a field in the web request payload that contains customer data.
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const fieldIdentifierProperty: wafv2.CfnWebACL.FieldIdentifierProperty = {
identifier: 'identifier',
};
Properties
Name | Type | Description |
---|---|---|
identifier | string | The name of the field. |
identifier
Type:
string
The name of the field.
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.