From 7a8ee2c5b704ba4565f5b5165ca9aea1e03ded07 Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Thu, 27 Sep 2018 12:42:36 +0300 Subject: [PATCH] fix(aws-ec2): fix capitalization of "VPCEndpointType" to "VpcEndpointType" (#789) 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" + } + ] + } + } + } +}