Skip to content

Commit

Permalink
fix documentation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-shah-1501 authored Jan 9, 2024
1 parent 382d261 commit d3d5bf8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/aws-cdk-lib/aws-ec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d3d5bf8

Please sign in to comment.