Skip to content

Commit

Permalink
chore(ec2): add kafka interface vpc endpoints (#31565)
Browse files Browse the repository at this point in the history
### 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*
  • Loading branch information
badmintoncryer authored Oct 9, 2024
1 parent fc09bc1 commit 2d255ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2d255ea

Please sign in to comment.