aws::opensearch-serverless-lifecycle-policy¶
Create an OpenSearch Serverless lifecycle policy.
Example¶
aws::opensearch-serverless-lifecycle-policy serverless-lifecycle-policy-example
name: "serverless-lifecycle-policy-example"
description: "serverless-lifecycle-policy-example-desc"
type: "retention"
policy: "retention-policy.json"
end
Attributes¶
Attribute | Description |
---|---|
name | The name of the lifecycle policy. (Required) |
description | The description of the lifecycle policy. |
type | The type of the lifecycle policy. Currently the only supported value is retention . (Required) |
policy | The policy of the lifecycle policy. A policy path or policy string is allowed. (Required) |
policy-version | The policy version of the lifecycle policy. |