From d6284ab55bb074ea3892530ccfc90de6c61b9544 Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Thu, 27 Sep 2018 11:49:26 +0300 Subject: [PATCH] fix(aws-ec2): fix capitalization of "VPCEndpointType" to "VpcEndpointType" Add a patch to the CFN spec that corrects the capitalization of the "VpcEndpointType" property of "AWS::EC2::VPCEndpoint". Fixes #765 --- .../spec-source/500_VPCEndpoint_patch.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/@aws-cdk/cfnspec/spec-source/500_VPCEndpoint_patch.json diff --git a/packages/@aws-cdk/cfnspec/spec-source/500_VPCEndpoint_patch.json b/packages/@aws-cdk/cfnspec/spec-source/500_VPCEndpoint_patch.json new file mode 100644 index 0000000000000..d61f257332594 --- /dev/null +++ b/packages/@aws-cdk/cfnspec/spec-source/500_VPCEndpoint_patch.json @@ -0,0 +1,16 @@ +{ + "ResourceTypes": { + "AWS::EC2::VPCEndpoint": { + "patch": { + "description": "Rename 'VPCEndpointType' to 'VpcEndpointType': https://github.com/awslabs/aws-cdk/issues/765", + "operations": [ + { + "from": "/Properties/VPCEndpointType", + "op": "move", + "path": "/Properties/VpcEndpointType" + } + ] + } + } + } +}