Class: Aws::WAFV2::Types::CookieMatchPattern

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

Overview

The filter to use to identify the subset of cookies to inspect in a web request.

You must specify exactly one setting: either ‘All`, `IncludedCookies`, or `ExcludedCookies`.

Example JSON: ‘“MatchPattern”: { “IncludedCookies”: [ “session-id-time”, “session-id” ] }`

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allTypes::All

Inspect all cookies.

Returns:



968
969
970
971
972
973
974
# File 'lib/aws-sdk-wafv2/types.rb', line 968

class CookieMatchPattern < Struct.new(
  :all,
  :included_cookies,
  :excluded_cookies)
  SENSITIVE = []
  include Aws::Structure
end

#excluded_cookiesArray<String>

Inspect only the cookies whose keys don’t match any of the strings specified here.

Returns:

  • (Array<String>)


968
969
970
971
972
973
974
# File 'lib/aws-sdk-wafv2/types.rb', line 968

class CookieMatchPattern < Struct.new(
  :all,
  :included_cookies,
  :excluded_cookies)
  SENSITIVE = []
  include Aws::Structure
end

#included_cookiesArray<String>

Inspect only the cookies that have a key that matches one of the strings specified here.

Returns:

  • (Array<String>)


968
969
970
971
972
973
974
# File 'lib/aws-sdk-wafv2/types.rb', line 968

class CookieMatchPattern < Struct.new(
  :all,
  :included_cookies,
  :excluded_cookies)
  SENSITIVE = []
  include Aws::Structure
end