ResourceTagsCriteriaCondition - AWS Compute Optimizer

ResourceTagsCriteriaCondition

Criteria condition for filtering resources based on their tags, including comparison operators and values.

Contents

comparison

The comparison operator used to evaluate the tag criteria, such as equals, not equals, or contains.

Type: String

Valid Values: StringEquals | StringNotEquals | StringEqualsIgnoreCase | StringNotEqualsIgnoreCase | StringLike | StringNotLike | NumericEquals | NumericNotEquals | NumericLessThan | NumericLessThanEquals | NumericGreaterThan | NumericGreaterThanEquals

Required: No

key

The tag key to use for comparison when filtering resources.

Type: String

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

Pattern: [\w\s\.\-\:\/\=\+\@\*\?]+

Required: No

values

List of tag values to compare against when filtering resources.

Type: Array of strings

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

Pattern: [\w\s\.\-\:\/\=\+\@\*\?]+

Required: No

See Also

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