Skip to content

Create Vpc Endpoint

opensearchserviceserverless_create_vpc_endpoint R Documentation

Creates an OpenSearch Serverless-managed interface VPC endpoint

Description

Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.

Usage

opensearchserviceserverless_create_vpc_endpoint(clientToken, name,
  securityGroupIds, subnetIds, vpcId)

Arguments

clientToken

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

name

[required] The name of the interface endpoint.

securityGroupIds

The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

subnetIds

[required] The ID of one or more subnets from which you'll access OpenSearch Serverless.

vpcId

[required] The ID of the VPC from which you'll access OpenSearch Serverless.

Value

A list with the following syntax:

list(
  createVpcEndpointDetail = list(
    id = "string",
    name = "string",
    status = "PENDING"|"DELETING"|"ACTIVE"|"FAILED"
  )
)

Request syntax

svc$create_vpc_endpoint(
  clientToken = "string",
  name = "string",
  securityGroupIds = list(
    "string"
  ),
  subnetIds = list(
    "string"
  ),
  vpcId = "string"
)