lifecycle_policy
Gets an individual lifecycle_policy
resource
Overview
Name | lifecycle_policy |
Type | Resource |
Description | lifecycle_policy |
Id | awscc.opensearchserverless.lifecycle_policy |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the policy |
type | string | |
description | string | The description of the policy |
policy | string | The JSON policy document that is the content for the policy |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
name,
type,
description,
policy
FROM awscc.opensearchserverless.lifecycle_policy
WHERE data__Identifier = '<Type>|<Name>';
Permissions
To operate on the lifecycle_policy
resource, the following permissions are required:
Read
aoss:BatchGetLifecyclePolicy
Update
aoss:UpdateLifecyclePolicy,
aoss:BatchGetLifecyclePolicy
Delete
aoss:DeleteLifecyclePolicy