From d3d5bf89fb8fcaf439832da81f6c0d4e9367dfe9 Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Tue, 9 Jan 2024 21:13:58 +0530 Subject: [PATCH] fix documentation bug --- packages/aws-cdk-lib/aws-ec2/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/aws-cdk-lib/aws-ec2/README.md b/packages/aws-cdk-lib/aws-ec2/README.md index 4db6a4b655418..d3db8782493eb 100644 --- a/packages/aws-cdk-lib/aws-ec2/README.md +++ b/packages/aws-cdk-lib/aws-ec2/README.md @@ -959,10 +959,9 @@ new ec2.InterfaceVpcEndpoint(this, 'VPC Endpoint', { #### Security groups for interface VPC endpoints -By default, interface VPC endpoints create a new security group and traffic is **not** -automatically allowed from the VPC CIDR. +By default, interface VPC endpoints create a new security group and all traffic to the endpoint from within the VPC will be automatically allowed. -Use the `connections` object to allow traffic to flow to the endpoint: +Use the `connections` object to allow other traffic to flow to the endpoint: ```ts declare const myEndpoint: ec2.InterfaceVpcEndpoint;