aws-cdk-lib.aws_opensearchserverless.CfnVpcEndpointProps

interface CfnVpcEndpointProps

LanguageType name
.NETAmazon.CDK.AWS.OpenSearchServerless.CfnVpcEndpointProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsopensearchserverless#CfnVpcEndpointProps
Javasoftware.amazon.awscdk.services.opensearchserverless.CfnVpcEndpointProps
Pythonaws_cdk.aws_opensearchserverless.CfnVpcEndpointProps
TypeScript aws-cdk-lib » aws_opensearchserverless » CfnVpcEndpointProps

Properties for defining a CfnVpcEndpoint.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opensearchserverless as opensearchserverless } from 'aws-cdk-lib';
const cfnVpcEndpointProps: opensearchserverless.CfnVpcEndpointProps = {
  name: 'name',
  subnetIds: ['subnetIds'],
  vpcId: 'vpcId',

  // the properties below are optional
  securityGroupIds: ['securityGroupIds'],
};

Properties

NameTypeDescription
namestringThe name of the endpoint.
subnetIdsstring[]The ID of the subnets from which you access OpenSearch Serverless.
vpcIdstringThe ID of the VPC from which you access OpenSearch Serverless.
securityGroupIds?string[]The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

name

Type: string

The name of the endpoint.


subnetIds

Type: string[]

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


vpcId

Type: string

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


securityGroupIds?

Type: string[] (optional)

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