EmailField - AWS WAFV2

EmailField

The name of the field in the request payload that contains your customer's email.

This data type is used in the RequestInspectionACFP data type.

Contents

Identifier

The name of the email field.

How you specify this depends on the request inspection payload type.

  • For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

    For example, for the JSON payload { "form": { "email": "THE_EMAIL" } }, the email field specification is /form/email.

  • For form encoded payload types, use the HTML form names.

    For example, for an HTML form with the input element named email1, the email field specification is email1.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: .*\S.*

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: