Skip to content

Get Security Policy

opensearchserviceserverless_get_security_policy R Documentation

Returns information about a configured OpenSearch Serverless security policy

Description

Returns information about a configured OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.

Usage

opensearchserviceserverless_get_security_policy(name, type)

Arguments

name

[required] The name of the security policy.

type

[required] The type of security policy.

Value

A list with the following syntax:

list(
  securityPolicyDetail = list(
    createdDate = 123,
    description = "string",
    lastModifiedDate = 123,
    name = "string",
    policy = list(),
    policyVersion = "string",
    type = "encryption"|"network"
  )
)

Request syntax

svc$get_security_policy(
  name = "string",
  type = "encryption"|"network"
)