# BucketNameComparison Object

## Description

Comparison for bucket names.

## Properties

### bucketName

Text to compare.

Type: `string`

Required: Yes

### 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

## Sample JSON

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