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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-vpcendpoint.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-vpcendpoint.html#cfn-opensearchserverless-vpcendpoint-name

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-vpcendpoint.html#cfn-opensearchserverless-vpcendpoint-securitygroupids

subnet_ids

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-vpcendpoint.html#cfn-opensearchserverless-vpcendpoint-subnetids

vpc_id

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-vpcendpoint.html#cfn-opensearchserverless-vpcendpoint-vpcid