lifecycle_policies_list_only
Lists lifecycle_policies
in a region or regions, for all properties use lifecycle_policies
Overview
Name | lifecycle_policies_list_only |
Type | Resource |
Description | Amazon OpenSearchServerless lifecycle policy resource |
Id | aws.opensearchserverless.lifecycle_policies_list_only |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the policy |
type | string | The type of lifecycle policy |
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
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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