Skip to main content

lifecycle_policy

Gets an individual lifecycle_policy resource

Overview

Namelifecycle_policy
TypeResource
Descriptionlifecycle_policy
Idawscc.opensearchserverless.lifecycle_policy

Fields

NameDatatypeDescription
namestringThe name of the policy
typestring
descriptionstringThe description of the policy
policystringThe JSON policy document that is the content for the policy
regionstringAWS 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