From aec8ec2f4c96a02622bdb953daf28c691deb7677 Mon Sep 17 00:00:00 2001 From: Chris Wessells Date: Tue, 21 May 2019 02:15:28 -0600 Subject: [PATCH] fix(ec2): fix VPC endpoint name for SageMaker Notebooks (#2598) The service name was incorrect as per https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-interface-endpoint.html --- packages/@aws-cdk/aws-ec2/lib/vpc-endpoint.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/aws-ec2/lib/vpc-endpoint.ts b/packages/@aws-cdk/aws-ec2/lib/vpc-endpoint.ts index 440687e06c2d4..6aa22630d51c4 100644 --- a/packages/@aws-cdk/aws-ec2/lib/vpc-endpoint.ts +++ b/packages/@aws-cdk/aws-ec2/lib/vpc-endpoint.ts @@ -205,7 +205,7 @@ export interface IInterfaceVpcEndpointService { * An AWS service for an interface VPC endpoint. */ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointService { - public static readonly SageMakerNotebook = new InterfaceVpcEndpointAwsService('sagemaker', 'aws.sagemaker'); + public static readonly SageMakerNotebook = new InterfaceVpcEndpointAwsService('notebook', 'aws.sagemaker'); public static readonly CloudFormation = new InterfaceVpcEndpointAwsService('cloudformation'); public static readonly CloudTrail = new InterfaceVpcEndpointAwsService('cloudtrail'); public static readonly CodeBuild = new InterfaceVpcEndpointAwsService('codebuild');