Skip to content

Create Security Config

opensearchserviceserverless_create_security_config R Documentation

Specifies a security configuration for OpenSearch Serverless

Description

Specifies a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.

Usage

opensearchserviceserverless_create_security_config(clientToken,
  description, name, samlOptions, type)

Arguments

clientToken

Unique, case-sensitive identifier to ensure idempotency of the request.

description

A description of the security configuration.

name

[required] The name of the security configuration.

samlOptions

Describes SAML options in in the form of a key-value map. This field is required if you specify saml for the type parameter.

type

[required] The type of security configuration.

Value

A list with the following syntax:

list(
  securityConfigDetail = list(
    configVersion = "string",
    createdDate = 123,
    description = "string",
    id = "string",
    lastModifiedDate = 123,
    samlOptions = list(
      groupAttribute = "string",
      metadata = "string",
      sessionTimeout = 123,
      userAttribute = "string"
    ),
    type = "saml"
  )
)

Request syntax

svc$create_security_config(
  clientToken = "string",
  description = "string",
  name = "string",
  samlOptions = list(
    groupAttribute = "string",
    metadata = "string",
    sessionTimeout = 123,
    userAttribute = "string"
  ),
  type = "saml"
)