Skip to content

Commit aec8ec2

Browse files
chriswessellsrix0rrr
authored andcommitted
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
1 parent 99e173e commit aec8ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@aws-cdk/aws-ec2/lib/vpc-endpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export interface IInterfaceVpcEndpointService {
205205
* An AWS service for an interface VPC endpoint.
206206
*/
207207
export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointService {
208-
public static readonly SageMakerNotebook = new InterfaceVpcEndpointAwsService('sagemaker', 'aws.sagemaker');
208+
public static readonly SageMakerNotebook = new InterfaceVpcEndpointAwsService('notebook', 'aws.sagemaker');
209209
public static readonly CloudFormation = new InterfaceVpcEndpointAwsService('cloudformation');
210210
public static readonly CloudTrail = new InterfaceVpcEndpointAwsService('cloudtrail');
211211
public static readonly CodeBuild = new InterfaceVpcEndpointAwsService('codebuild');

0 commit comments

Comments
 (0)