AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::OpenSearchServerless::VpcEndpoint

CfnVpcEndpoint

Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see [Access Amazon OpenSearch Serverless using an interface endpoint](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html) .

Import

import { CfnVpcEndpoint } from 'aws-cdk-lib/aws-opensearchserverless';

Or use the module namespace:

import * as opensearchserverless from 'aws-cdk-lib/aws-opensearchserverless';
// opensearchserverless.CfnVpcEndpoint

Properties

Configuration passed to the constructor as CfnVpcEndpointProps.

nameRequired
string

The name of the endpoint.

subnetIdsRequired
string[]

The ID of the subnets from which you access OpenSearch Serverless.

vpcIdRequired
string

The ID of the VPC from which you access OpenSearch Serverless.

securityGroupIdsOptional
string | ISecurityGroupRef[]

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

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-opensearchserverless
CFN TypeAWS::OpenSearchServerless::VpcEndpoint
Properties4

External Links