CmdID / aws / aws opensearchserverless
aws opensearchserverless create-lifecycle-policy
Creates a lifecyle policy to be applied to OpenSearch Serverless indexes. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--client-tokenA unique, case-sensitive identifier to ensure idempotency of the request.--descriptionA description of the lifecycle policy.--nameThe name of the lifecycle policy.--policyThe JSON policy document to use as the content for the lifecycle policy.--typeThe type of lifecycle policy.