Skip to content

Commit 09256db

Browse files
chore(ec2): add missing interface VPC endpoints (#31882)
### Issue # (if applicable) None ### Reason for this change There are some interface VPC endpoints which is not supported by AWS CDK. ### Description of changes Add three interface VPC endpoints - WorkMail (com.amazonaws.region.workmail) - AWS End User Messaging Social (com.amazonaws.region.social-messaging) - AWS Price List (com.amazonaws.region.pricing.api) ### Description of how you validated changes Execute AWS CLI: ```sh ❯ aws ec2 describe-vpc-endpoint-services --filters Name=service-type,Values=Interface Name=owner,Values=amazon --region us-east-1 --query ServiceNames | grep workmail "com.amazonaws.us-east-1.workmail", ❯ aws ec2 describe-vpc-endpoint-services --filters Name=service-type,Values=Interface Name=owner,Values=amazon --region us-east-1 --query ServiceNames | grep social "com.amazonaws.us-east-1.social-messaging", ❯ aws ec2 describe-vpc-endpoint-services --filters Name=service-type,Values=Interface Name=owner,Values=amazon --region us-east-1 --query ServiceNames | grep pricing "com.amazonaws.us-east-1.pricing.api", ``` ### 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*
1 parent fc30425 commit 09256db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
402402
public static readonly EMR_SERVERLESS = new InterfaceVpcEndpointAwsService('emr-serverless');
403403
public static readonly EMR_SERVERLESS_LIVY = new InterfaceVpcEndpointAwsService('emr-serverless-services.livy');
404404
public static readonly EMR_WAL = new InterfaceVpcEndpointAwsService('emrwal.prod');
405+
public static readonly END_USER_MESSAGING_SOCIAL = new InterfaceVpcEndpointAwsService('social-messaging');
405406
public static readonly ENTITY_RESOLUTION = new InterfaceVpcEndpointAwsService('entityresolution');
406407
public static readonly EVENTBRIDGE = new InterfaceVpcEndpointAwsService('events');
407408
public static readonly EVENTBRIDGE_SCHEMA_REGISTRY = new InterfaceVpcEndpointAwsService('schemas');
@@ -514,6 +515,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
514515
public static readonly PIPES = new InterfaceVpcEndpointAwsService('pipes');
515516
public static readonly PIPES_DATA = new InterfaceVpcEndpointAwsService('pipes-data');
516517
public static readonly PIPES_FIPS = new InterfaceVpcEndpointAwsService('pipes-fips');
518+
public static readonly PRICE_LIST = new InterfaceVpcEndpointAwsService('pricing.api');
517519
public static readonly POLLY = new InterfaceVpcEndpointAwsService('polly');
518520
public static readonly PRIVATE_5G = new InterfaceVpcEndpointAwsService('private-networks');
519521
public static readonly PRIVATE_CERTIFICATE_AUTHORITY = new InterfaceVpcEndpointAwsService('acm-pca');
@@ -598,6 +600,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
598600
public static readonly TRANSLATE = new InterfaceVpcEndpointAwsService('translate');
599601
public static readonly TRUSTED_ADVISOR = new InterfaceVpcEndpointAwsService('trustedadvisor');
600602
public static readonly WELL_ARCHITECTED_TOOL = new InterfaceVpcEndpointAwsService('wellarchitected');
603+
public static readonly WORKMAIL = new InterfaceVpcEndpointAwsService('workmail');
601604
public static readonly WORKSPACES = new InterfaceVpcEndpointAwsService('workspaces');
602605
public static readonly WORKSPACES_THIN_CLIENT = new InterfaceVpcEndpointAwsService('thinclient.api');
603606
public static readonly XRAY = new InterfaceVpcEndpointAwsService('xray');

0 commit comments

Comments
 (0)