CmdID / aws / aws opensearchserverless
aws opensearchserverless create-security-policy
Creates a security policy to be used by one or more OpenSearch Serverless collections. 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 new policy.--typeThe type of security policy.