# ResourceTagComparison Object

## Description

Comparison for resource tags.

## Properties

### compareType

Comparison to use. Not all action types support `exists` and `does-not-exist` comparison types.

Type: `string`

Valid Values:

* `contains`
* `does-not-contain`
* `does-not-end-with`
* `does-not-equal`
* `does-not-exist` (conditional)
* `does-not-start-with`
* `ends-with`
* `equals`
* `exists` (conditional)
* `starts-with`

Required: Yes

### tagName

Key of the resource tag.

Type: `string`

Required: Yes

### tagValue

Value of the resource tag to compare. Required when `compareType` is not `exists` and `does-not-exist`.

Type: `string`

Required: Conditional

## Sample JSON

```javascript
{
    "tagName": "start-schedule",
    "compareType": "equals",
    "tagValue": "daily-0800"
}
```
