Creates a data access policy for OpenSearch Serverless. Access policies limit access to collections and the resources within them, and allow a user to access that data irrespective of the access mechanism or network source. For more information, see Data access control for Amazon OpenSearch Serverless.
See https://www.paws-r-sdk.com/docs/opensearchserviceserverless_create_access_policy/ for full documentation.
opensearchserviceserverless_create_access_policy(
type,
name,
description = NULL,
policy,
clientToken = NULL
)
[required] The type of policy.
[required] The name of the policy.
A description of the policy. Typically used to store information about the permissions defined in the policy.
[required] The JSON policy document to use as the content for the policy.
Unique, case-sensitive identifier to ensure idempotency of the request.