diff --git a/packages/@aws-cdk/cfnspec/spec-source/001_VPCEndpointService.spec.json b/packages/@aws-cdk/cfnspec/spec-source/001_VPCEndpointService.spec.json new file mode 100644 index 0000000000000..85ccbd4756c48 --- /dev/null +++ b/packages/@aws-cdk/cfnspec/spec-source/001_VPCEndpointService.spec.json @@ -0,0 +1,23 @@ +{ + "ResourceTypes": { + "AWS::EC2::VPCEndpointService": { + "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html", + "Properties": { + "AcceptanceRequired": { + "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-acceptancerequired", + "PrimitiveType": "Boolean", + "Required": false, + "UpdateType": "Mutable" + }, + "NetworkLoadBalancerArns": { + "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-networkloadbalancerarns", + "DuplicatesAllowed": false, + "PrimitiveItemType": "String", + "Required": true, + "Type": "List", + "UpdateType": "Mutable" + } + } + } + } +} diff --git a/packages/@aws-cdk/cfnspec/spec-source/600_RefKinds_patch.json b/packages/@aws-cdk/cfnspec/spec-source/600_RefKinds_patch.json index 56b8a7c3c136b..63f023a55fbdc 100644 --- a/packages/@aws-cdk/cfnspec/spec-source/600_RefKinds_patch.json +++ b/packages/@aws-cdk/cfnspec/spec-source/600_RefKinds_patch.json @@ -1596,6 +1596,18 @@ "description": "Set RefKind of AWS::EC2::VPCEndpointConnectionNotification to None" } }, + "AWS::EC2::VPCEndpointService": { + "patch": { + "operations": [ + { + "op": "add", + "path": "/RefKind", + "value": "Id" + } + ], + "description": "Set RefKind of AWS::EC2::VPCEndpointService to Id" + } + }, "AWS::EC2::VPCEndpointServicePermissions": { "patch": { "operations": [