Skip to content

Commit

Permalink
chore(ec2): add Serverless Application Repository Interface VPC Endpo…
Browse files Browse the repository at this point in the history
…int (#31495)

### Issue # (if applicable)

None

### Reason for this change

Serverless Application Repository supports private link access but AWS CDK does not support creating an interface VPC endpoint.

### Description of changes

Add Interface VPC Endpoint for Serverless Application Repository .

### Description of how you validated changes

I executed the AWS CLI command as shown below.

❯ aws ec2 describe-vpc-endpoint-services --filters Name=service-type,Values=Interface Name=owner,Values=amazon --region us-east-1 --query ServiceNames | grep serverlessrepo
"com.amazonaws.us-east-1.serverlessrepo",

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
badmintoncryer authored Sep 19, 2024
1 parent 76e83a5 commit 96e799e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
public static readonly SERVER_MIGRATION_SERVICE = new InterfaceVpcEndpointAwsService('sms');
public static readonly SERVER_MIGRATION_SERVICE_FIPS = new InterfaceVpcEndpointAwsService('sms-fips');
public static readonly SERVER_MIGRATION_SERVICE_AWSCONNECTOR = new InterfaceVpcEndpointAwsService('awsconnector');
public static readonly SERVERLESS_APPLICATION_REPOSITORY = new InterfaceVpcEndpointAwsService('serverlessrepo');
/** @deprecated - Use InterfaceVpcEndpointAwsService.EMAIL_SMTP instead. */
public static readonly SES = new InterfaceVpcEndpointAwsService('email-smtp');
public static readonly SIMSPACE_WEAVER = new InterfaceVpcEndpointAwsService('simspaceweaver');
Expand Down

0 comments on commit 96e799e

Please sign in to comment.