View a markdown version of this page

ResourceTagsCriteriaCondition - Amazon Compute Optimizer
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: