Skip to main content

access_policies_list_only

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

Overview

Nameaccess_policies_list_only
TypeResource
DescriptionAmazon OpenSearchServerless access policy resource
Idaws.opensearchserverless.access_policies_list_only

Fields

NameDatatypeDescription
namestringThe name of the policy
typestringThe possible types for the access 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 access_policies in a region.

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

Permissions

For permissions required to operate on the access_policies_list_only resource, see access_policies