# LightsailInstanceSnapshotNameComparison Object

## Description

Comparison for Lightsail instance snapshot names.

## Properties

### compareType

Comparison to use.

Type: `string`

Valid Values:

* `contains`
* `does-not-contain`
* `does-not-end-with`
* `does-not-equal`
* `does-not-start-with`
* `ends-with`
* `equals`
* `starts-with`

Required: Yes

### snapshotName

Text to compare.

Type: `string`

Required: Yes

## Sample JSON

```javascript
{
    "snapshotName": "prod-",
    "compareType": "starts-with"
}
```

