Skip to content

Commit

Permalink
chore(ec2): add Compute Optimizer Interface VPC Endpoint (#31504)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

None

### Reason for this change

Compute Optimizer supports private link access but AWS CDK does not support creating an interface VPC endpoint.

### Description of changes

Add Interface VPC Endpoint for Compute Optimizer.

### Description of how you validated changes

I executed the AWS CLI command as shown below.

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

### 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
enokawa authored Sep 20, 2024
1 parent d6f6f56 commit eb2dfda
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 @@ -355,6 +355,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
public static readonly CODE_CONNECTIONS = new InterfaceVpcEndpointAwsService('codeconnections.api');
public static readonly COMPREHEND = new InterfaceVpcEndpointAwsService('comprehend');
public static readonly COMPREHEND_MEDICAL = new InterfaceVpcEndpointAwsService('comprehendmedical');
public static readonly COMPUTE_OPTIMIZER = new InterfaceVpcEndpointAwsService('compute-optimizer');
public static readonly CONFIG = new InterfaceVpcEndpointAwsService('config');
public static readonly CONNECT_APP_INTEGRATIONS = new InterfaceVpcEndpointAwsService('app-integrations');
public static readonly CONNECT_CASES = new InterfaceVpcEndpointAwsService('cases');
Expand Down

0 comments on commit eb2dfda

Please sign in to comment.