access_policy
Gets an individual access_policy
resource
Overview
Name | access_policy |
Type | Resource |
Description | access_policy |
Id | awscc.opensearchserverless.access_policy |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the policy |
type | string | |
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
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