Class: Aws::WAFV2::Types::ApiPatternFilter

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

Overview

An API pattern to filter events by, used in ListEvents and ListEventsByWebACL.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domains ⇒ Array<String>

The domains that you want the filter to match. You can specify up to 10 domains.

Returns:

  • (Array<String>)


565
566
567
568
569
570
571
572
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 565

class ApiPatternFilter < Struct.new(
  :method,
  :path_pattern,
  :port,
  :domains)
  SENSITIVE = []
  include Aws::Structure
end

#method ⇒ String

The HTTP method that you want the filter to match. For example, GET or POST.

Returns:

  • (String)


565
566
567
568
569
570
571
572
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 565

class ApiPatternFilter < Struct.new(
  :method,
  :path_pattern,
  :port,
  :domains)
  SENSITIVE = []
  include Aws::Structure
end

#path_pattern ⇒ String

The normalized URI path that you want the filter to match. For example, /api/v1/accounts/{id}.

Returns:

  • (String)


565
566
567
568
569
570
571
572
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 565

class ApiPatternFilter < Struct.new(
  :method,
  :path_pattern,
  :port,
  :domains)
  SENSITIVE = []
  include Aws::Structure
end

#port ⇒ Integer

The port that you want the filter to match. For example, 443.

Returns:

  • (Integer)


565
566
567
568
569
570
571
572
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 565

class ApiPatternFilter < Struct.new(
  :method,
  :path_pattern,
  :port,
  :domains)
  SENSITIVE = []
  include Aws::Structure
end