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(name, vpcId, subnetIds,
  securityGroupIds, clientToken)

Arguments

name

[required] The name of the interface endpoint.

vpcId

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

subnetIds

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

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.

clientToken

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

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(
  name = "string",
  vpcId = "string",
  subnetIds = list(
    "string"
  ),
  securityGroupIds = list(
    "string"
  ),
  clientToken = "string"
)