Skip to main content

access_policy

Gets an individual access_policy resource

Overview

Nameaccess_policy
TypeResource
Descriptionaccess_policy
Idawscc.opensearchserverless.access_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.access_policy
WHERE data__Identifier = '<Type>|<Name>';

Permissions

To operate on the access_policy resource, the following permissions are required:

Read

aoss:GetAccessPolicy

Update

aoss:UpdateAccessPolicy,
aoss:GetAccessPolicy

Delete

aoss:DeleteAccessPolicy,
aoss:GetAccessPolicy