CfnVpcEndpointProps
- class aws_cdk.aws_opensearchserverless.CfnVpcEndpointProps(*, name, subnet_ids, vpc_id, security_group_ids=None)
- Bases: - object- Properties for defining a - CfnVpcEndpoint.- Parameters:
- name ( - str) – The name of the endpoint.
- subnet_ids ( - Sequence[- str]) – The ID of the subnets from which you access OpenSearch Serverless.
- vpc_id ( - str) – The ID of the VPC from which you access OpenSearch Serverless.
- security_group_ids ( - Optional[- Sequence[- str]]) – The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
 
- See:
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_opensearchserverless as opensearchserverless cfn_vpc_endpoint_props = opensearchserverless.CfnVpcEndpointProps( name="name", subnet_ids=["subnetIds"], vpc_id="vpcId", # the properties below are optional security_group_ids=["securityGroupIds"] ) - Attributes - name
- The name of the endpoint. 
 - security_group_ids
- The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. 
 - subnet_ids
- The ID of the subnets from which you access OpenSearch Serverless. 
 - vpc_id
- The ID of the VPC from which you access OpenSearch Serverless.