Skip to content

Commit 420be7a

Browse files
chore(ec2): add missing interface VPC endpoint (#31991)
### Issue # (if applicable) None ### Reason for this change Cost optimization hub interface VPC endpoint is not supported by AWS CDK. ### Description of changes Add cost optimization hub interface VPC endpoint. ### Description of how you validated changes ```sh aws ec2 describe-vpc-endpoint-services --filters Name=service-type,Values=Interface Name=owner,Values=amazon --region us-east-1 --query ServiceNames | grep cost-optimization-hub "com.amazonaws.us-east-1.cost-optimization-hub", ``` ### 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 9027cd2 commit 420be7a

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
@@ -365,6 +365,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
365365
public static readonly CONNECT_WISDOM = new InterfaceVpcEndpointAwsService('wisdom');
366366
public static readonly CONTROL_CATALOG = new InterfaceVpcEndpointAwsService('controlcatalog');
367367
public static readonly COST_EXPLORER = new InterfaceVpcEndpointAwsService('ce');
368+
public static readonly COST_OPTIMIZATION_HUB = new InterfaceVpcEndpointAwsService('cost-optimization-hub');
368369
public static readonly DATA_EXCHANGE = new InterfaceVpcEndpointAwsService('dataexchange');
369370
public static readonly DATA_EXPORTS = new InterfaceVpcEndpointAwsService('bcm-data-exports', 'aws.api');
370371
public static readonly DATASYNC = new InterfaceVpcEndpointAwsService('datasync');

0 commit comments

Comments
 (0)