Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit c713714

Browse files
removed schema_version parameter
1 parent 902b3ba commit c713714

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

docs/ism/policies.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Parameter | Description | Type | Required | Read Only
2222
:--- | :--- |:--- |:--- |
2323
`policy_id` | The name of the policy. | `string` | Yes | No
2424
`description` | A human-readable description of the policy. | `string` | Yes | No
25-
`schema_version` | The version number of the policy. Increment as you add or remove new fields. | `number` | Yes | No
2625
`last_updated_time` | The time the policy was last updated. | `timestamp` | Yes | Yes
2726
`error_notification` | The destination and message template for error notifications. The destination could be Amazon Chime, Slack, or a webhook URL. | `object` | No | No
2827
`default_state` | The default starting state for each index that uses this policy. | `string` | Yes | No
@@ -210,16 +209,16 @@ Parameter | Description | Type | Required
210209

211210
```json
212211
{
213-
"notification": {
214-
"destination": {
215-
"chime": {
216-
"url": "<url>"
217-
}
218-
},
219-
"message_template": {
220-
"source": "{% raw %}The index {index_name} is being deleted{% endraw %}"
221-
}
222-
}
212+
"notification":{
213+
"destination":{
214+
"chime":{
215+
"url":"<url>"
216+
}
217+
},
218+
"message_template":{
219+
"source":"The index {index_name} is being deleted"
220+
}
221+
}
223222
}
224223
```
225224

@@ -241,8 +240,8 @@ Parameter | Description | Type | Required
241240
`min_doc_count` | The minimum document count of the index required to transition. | `number` | No
242241
`min_size` | The minimum size of the index required to transition. | `string` | No
243242
`cron` | The `cron` job that triggers the transition if no other transition happens first. | `object` | No
244-
`expression` | The `cron` expression that triggers the transition. | `string` | Yes
245-
`timezone` | The timezone that triggers the transition. | `string` | Yes
243+
`cron.expression` | The `cron` expression that triggers the transition. | `string` | Yes
244+
`cron.timezone` | The timezone that triggers the transition. | `string` | Yes
246245

247246
If no conditions are specified, ISM transitions the index to the state the moment it checks. ISM checks the conditions every 5 minutes by default.
248247

0 commit comments

Comments
 (0)