CmdID / aws / aws opensearchserverless
aws opensearchserverless create-access-policy
Creates a data access policy for OpenSearch Serverless. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--client-tokenUnique, case-sensitive identifier to ensure idempotency of the request.--descriptionA description of the policy.--nameThe name of the policy.--policyThe JSON policy document to use as the content for the policy.--typeThe type of policy.