EventFilter - AWS WAFV2
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

EventFilter

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

Contents

Name

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.

Type: String

Valid Values: EVENT_CATEGORY | RESOURCE_ARN

Required: Yes

Values

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

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Length Constraints: Minimum length of 1. Maximum length of 2048.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: