[Doc] explain ism_template.priority (#5171)

* [Doc] explain ism_template.priority

Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>

---------

Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
This commit is contained in:
bowenlan-amzn 2023-11-15 11:08:34 -08:00 committed by GitHub
parent ea66e3f1d5
commit 105d8460a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@ Field | Description | Type | Required | Read Only
:--- | :--- |:--- |:--- | :--- | :--- |:--- |:--- |
`policy_id` | The name of the policy. | `string` | Yes | Yes `policy_id` | The name of the policy. | `string` | Yes | Yes
`description` | A human-readable description of the policy. | `string` | Yes | No `description` | A human-readable description of the policy. | `string` | Yes | No
`ism_template` | Specify an ISM template pattern that matches the index to apply the policy. | `nested list of objects` | No | No `ism_template` | Specify an ISM template to automatically apply the policy to the newly created index. | `nested list of objects` | No | No
`ism_template.index_patterns` | Specify a pattern that matches the newly created index name. | `list of strings` | No | No
`ism_template.priority` | Specify a priority to disambiguate when multiple policies match the newly created index name. | `number` | No | No
`last_updated_time` | The time the policy was last updated. | `timestamp` | Yes | Yes `last_updated_time` | The time the policy was last updated. | `timestamp` | Yes | Yes
`error_notification` | The destination and message template for error notifications. The destination could be Amazon Chime, Slack, or a webhook URL. | `object` | No | No `error_notification` | The destination and message template for error notifications. The destination could be Amazon Chime, Slack, or a webhook URL. | `object` | No | No
`default_state` | The default starting state for each index that uses this policy. | `string` | Yes | No `default_state` | The default starting state for each index that uses this policy. | `string` | Yes | No