From d3d5bf89fb8fcaf439832da81f6c0d4e9367dfe9 Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Tue, 9 Jan 2024 21:13:58 +0530 Subject: [PATCH 1/2] 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; From e1ff80cf4c2dc5bc10a4c698d33af8c7a31d897c Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Mon, 29 Jan 2024 22:19:40 +0530 Subject: [PATCH 2/2] fix output spelling --- .../tree.json | 6 +++--- .../test/integ.nested-stacks.js.snapshot/tree.json | 12 ++++++------ .../cloudformation-include/lib/cfn-include.ts | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/@aws-cdk-testing/framework-integ/test/cloudformation-include/test/integ.intrinsic-deletion-policy.js.snapshot/tree.json b/packages/@aws-cdk-testing/framework-integ/test/cloudformation-include/test/integ.intrinsic-deletion-policy.js.snapshot/tree.json index 3c5b96273ac99..11cebc6bb18d0 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/cloudformation-include/test/integ.intrinsic-deletion-policy.js.snapshot/tree.json +++ b/packages/@aws-cdk-testing/framework-integ/test/cloudformation-include/test/integ.intrinsic-deletion-policy.js.snapshot/tree.json @@ -66,9 +66,9 @@ "version": "10.3.0" } }, - "$Ouputs": { - "id": "$Ouputs", - "path": "Stack/Stack/$Ouputs", + "$Outputs": { + "id": "$Outputs", + "path": "Stack/Stack/$Outputs", "constructInfo": { "fqn": "constructs.Construct", "version": "10.3.0" diff --git a/packages/@aws-cdk-testing/framework-integ/test/cloudformation-include/test/integ.nested-stacks.js.snapshot/tree.json b/packages/@aws-cdk-testing/framework-integ/test/cloudformation-include/test/integ.nested-stacks.js.snapshot/tree.json index bbdc91c031aa6..96cb498db3884 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/cloudformation-include/test/integ.nested-stacks.js.snapshot/tree.json +++ b/packages/@aws-cdk-testing/framework-integ/test/cloudformation-include/test/integ.nested-stacks.js.snapshot/tree.json @@ -116,9 +116,9 @@ "version": "10.1.85" } }, - "$Ouputs": { - "id": "$Ouputs", - "path": "ParentStack/ParentStack/ChildStack/ChildStack/$Ouputs", + "$Outputs": { + "id": "$Outputs", + "path": "ParentStack/ParentStack/ChildStack/ChildStack/$Outputs", "constructInfo": { "fqn": "constructs.Construct", "version": "10.1.85" @@ -190,9 +190,9 @@ "version": "10.1.85" } }, - "$Ouputs": { - "id": "$Ouputs", - "path": "ParentStack/ParentStack/$Ouputs", + "$Outputs": { + "id": "$Outputs", + "path": "ParentStack/ParentStack/$Outputs", "constructInfo": { "fqn": "constructs.Construct", "version": "10.1.85" diff --git a/packages/aws-cdk-lib/cloudformation-include/lib/cfn-include.ts b/packages/aws-cdk-lib/cloudformation-include/lib/cfn-include.ts index 19dcdaeca533a..9a1018e79e026 100644 --- a/packages/aws-cdk-lib/cloudformation-include/lib/cfn-include.ts +++ b/packages/aws-cdk-lib/cloudformation-include/lib/cfn-include.ts @@ -173,7 +173,7 @@ export class CfnInclude extends core.CfnElement { this.createHook(hookName); } - const outputScope = new Construct(this, '$Ouputs'); + const outputScope = new Construct(this, '$Outputs'); for (const logicalId of Object.keys(this.template.Outputs || {})) { this.createOutput(logicalId, outputScope); }