Class: Aws::WAFV2::Types::EventFilter

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

Overview

A filter to narrow the events that are returned by ListEvents and ListEventsByWebACL.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#name ⇒ String

The name of the field to filter on. Valid values:

  • EVENT_CATEGORY - Filter by event category. The only supported filter value is API_SECURITY.

  • RESOURCE_ARN - Filter by protected resource. The filter values are the Amazon Resource Name (ARN)s of the protected resources.

Returns:

  • (String)


3644
3645
3646
3647
3648
3649
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 3644

class EventFilter < Struct.new(
  :name,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#values ⇒ Array<String>

The values to filter on. You can specify up to 10 values.

Returns:

  • (Array<String>)


3644
3645
3646
3647
3648
3649
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 3644

class EventFilter < Struct.new(
  :name,
  :values)
  SENSITIVE = []
  include Aws::Structure
end