interface CfnVpcEndpointProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.OpenSearchServerless.CfnVpcEndpointProps |
Java | software.amazon.awscdk.services.opensearchserverless.CfnVpcEndpointProps |
Python | aws_cdk.aws_opensearchserverless.CfnVpcEndpointProps |
TypeScript | @aws-cdk/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 * as opensearchserverless from '@aws-cdk/aws-opensearchserverless';
const cfnVpcEndpointProps: opensearchserverless.CfnVpcEndpointProps = {
name: 'name',
subnetIds: ['subnetIds'],
vpcId: 'vpcId',
// the properties below are optional
securityGroupIds: ['securityGroupIds'],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the endpoint. |
| subnet | string[] | The ID of the subnets from which you access OpenSearch Serverless. |
| vpc | string | The ID of the VPC from which you access OpenSearch Serverless. |
| security | 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.

.NET
Java
Python
TypeScript