Properties
| Name | Type | Description |
|---|---|---|
| actions | array | Array of R2 object actions that will trigger notifications |
| prefix | string | Notifications will be sent only for objects with this prefix |
| suffix | string | Notifications will be sent only for objects with this suffix |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/mq_rule",
"title": "mq_rule",
"properties": {
"actions": {
"description": "Array of R2 object actions that will trigger notifications",
"example": [
"PutObject",
"CopyObject"
],
"items": {
"$ref": "#/components/schemas/mq_r2-action"
},
"type": "array",
"uniqueItems": true
},
"prefix": {
"description": "Notifications will be sent only for objects with this prefix",
"example": "img/",
"type": "string"
},
"suffix": {
"description": "Notifications will be sent only for objects with this suffix",
"example": ".jpeg",
"type": "string"
}
},
"required": [
"actions"
],
"type": "object"
}