View a markdown version of this page

KeyFilter - Amazon CloudWatch Omni

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: