Skip to content

Commit eb2dfda

Browse files
authored
chore(ec2): add Compute Optimizer Interface VPC Endpoint (#31504)
### 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*
1 parent d6f6f56 commit eb2dfda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
355355
public static readonly CODE_CONNECTIONS = new InterfaceVpcEndpointAwsService('codeconnections.api');
356356
public static readonly COMPREHEND = new InterfaceVpcEndpointAwsService('comprehend');
357357
public static readonly COMPREHEND_MEDICAL = new InterfaceVpcEndpointAwsService('comprehendmedical');
358+
public static readonly COMPUTE_OPTIMIZER = new InterfaceVpcEndpointAwsService('compute-optimizer');
358359
public static readonly CONFIG = new InterfaceVpcEndpointAwsService('config');
359360
public static readonly CONNECT_APP_INTEGRATIONS = new InterfaceVpcEndpointAwsService('app-integrations');
360361
public static readonly CONNECT_CASES = new InterfaceVpcEndpointAwsService('cases');

0 commit comments

Comments
 (0)