Skip to main content

lifecycle_policies_list_only

Lists lifecycle_policies in a region or regions, for all properties use lifecycle_policies

Overview

Namelifecycle_policies_list_only
TypeResource
DescriptionAmazon OpenSearchServerless lifecycle policy resource
Idaws.opensearchserverless.lifecycle_policies_list_only

Fields

NameDatatypeDescription
namestringThe name of the policy
typestringThe type of lifecycle policy
descriptionstringThe description of the policy
policystringThe JSON policy document that is the content for the policy
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all lifecycle_policies in a region.

SELECT
region,
type,
name
FROM aws.opensearchserverless.lifecycle_policies_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the lifecycle_policies_list_only resource, see lifecycle_policies