From 511c720704c671a11a5215099d5f34ea1aecfd8b Mon Sep 17 00:00:00 2001 From: Chris Wessells Date: Mon, 20 May 2019 17:58:33 -0600 Subject: [PATCH] fixed vpc endpoint service name for SageMaker Notebooks The service name was incorrect as per https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-interface-endpoint.html I updated the name so it renders correctly. I tested it successfully created a SageMaker Notebook endpoint --- 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');