Class: Aws::WAFV2::Types::EmailField

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-wafv2/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#identifierString

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`.

[1]: tools.ietf.org/html/rfc6901

Returns:

  • (String)


2353
2354
2355
2356
2357
# File 'lib/aws-sdk-wafv2/types.rb', line 2353

class EmailField < Struct.new(
  :identifier)
  SENSITIVE = []
  include Aws::Structure
end