KeyFilter - Amazon CloudWatch Omni
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.

KeyFilter

Key-value filter used for tags and attributes filtering. Multiple KeyFilters are AND'ed. Multiple values within a single KeyFilter are OR'ed. Values support pattern syntax: exact, negation (!value), wildcard (*value*, value*, *value).

Contents

key

The tag or attribute key to filter on.

Type: String

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

Required: Yes

values

The values to match for this key, OR'ed together. Each supports exact, negation (!value), and wildcard (*value*, value*, *value) syntax.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 50 items.

Length Constraints: Minimum length of 0. Maximum length of 259.

Required: No

See Also

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