AWS::ComputeOptimizer::AutomationRule ResourceTagsCriteriaCondition - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::ComputeOptimizer::AutomationRule ResourceTagsCriteriaCondition

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

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Comparison" : String, "Key" : String, "Values" : [ String, ... ] }

YAML

Comparison: String Key: String Values: - String

Properties

Comparison

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

Required: No

Type: String

Allowed values: StringEquals | StringNotEquals | StringEqualsIgnoreCase | StringNotEqualsIgnoreCase | StringLike | StringNotLike | NumericEquals | NumericNotEquals | NumericLessThan | NumericLessThanEquals | NumericGreaterThan | NumericGreaterThanEquals

Update requires: No interruption

Key

The tag key to use for comparison when filtering resources.

Required: No

Type: String

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

Minimum: 1

Maximum: 512

Update requires: No interruption

Values

List of tag values to compare against when filtering resources.

Required: No

Type: Array of String

Minimum: 1

Maximum: 512

Update requires: No interruption