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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/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:

  • (Types::All)


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

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>)


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

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>)


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

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