From 2d255eac392d358c5f5bcb40d3bd743d6dedce24 Mon Sep 17 00:00:00 2001 From: Kazuho Cryer-Shinozuka Date: Thu, 10 Oct 2024 04:33:33 +0900 Subject: [PATCH] chore(ec2): add kafka interface vpc endpoints (#31565) ### Issue # (if applicable) None ### Reason for this change AWS Kafka now supports private link access. ### Description of changes Add `kafka` and `kafka-fips` interface vpc endpoints. ### Description of how you validated changes I confirmed from the result of 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 "com.amazonaws.us-east-1.kafka", "com.amazonaws.us-east-1.kafka-fips", ``` ### 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* --- packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts b/packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts index 1bed1dd748344..258724e604fdb 100644 --- a/packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts +++ b/packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts @@ -450,6 +450,8 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ public static readonly IOT_SITEWISE_DATA = new InterfaceVpcEndpointAwsService('iotsitewise.data'); public static readonly IOT_TWINMAKER_API = new InterfaceVpcEndpointAwsService('iottwinmaker.api'); public static readonly IOT_TWINMAKER_DATA = new InterfaceVpcEndpointAwsService('iottwinmaker.data'); + public static readonly KAFKA = new InterfaceVpcEndpointAwsService('kafka'); + public static readonly KAFKA_FIPS = new InterfaceVpcEndpointAwsService('kafka-fips'); public static readonly KENDRA = new InterfaceVpcEndpointAwsService('kendra'); public static readonly KENDRA_RANKING = new InterfaceVpcEndpointAwsService('kendra-ranking', 'aws.api'); public static readonly KEYSPACES = new InterfaceVpcEndpointAwsService('cassandra', '', 9142);