View source: R/opensearchserviceserverless_operations.R
opensearchserviceserverless_create_security_policy | R Documentation |
Creates a security policy to be used by one or more OpenSearch Serverless collections. Security policies provide access to a collection and its OpenSearch Dashboards endpoint from public networks or specific VPC endpoints. They also allow you to secure a collection with a KMS encryption key. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
See https://www.paws-r-sdk.com/docs/opensearchserviceserverless_create_security_policy/ for full documentation.
opensearchserviceserverless_create_security_policy(
type,
name,
description = NULL,
policy,
clientToken = NULL
)
type |
[required] The type of security policy. |
name |
[required] The name of the policy. |
description |
A description of the policy. Typically used to store information about the permissions defined in the policy. |
policy |
[required] The JSON policy document to use as the content for the new policy. |
clientToken |
Unique, case-sensitive identifier to ensure idempotency of the request. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.