Skip to content

Commit

Permalink
chore(ec2): add missing interface VPC endpoint (aws#31991)
Browse files Browse the repository at this point in the history
### 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*
  • Loading branch information
seanCladonema authored Nov 5, 2024
1 parent 9027cd2 commit 420be7a
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 @@ -365,6 +365,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
public static readonly CONNECT_WISDOM = new InterfaceVpcEndpointAwsService('wisdom');
public static readonly CONTROL_CATALOG = new InterfaceVpcEndpointAwsService('controlcatalog');
public static readonly COST_EXPLORER = new InterfaceVpcEndpointAwsService('ce');
public static readonly COST_OPTIMIZATION_HUB = new InterfaceVpcEndpointAwsService('cost-optimization-hub');
public static readonly DATA_EXCHANGE = new InterfaceVpcEndpointAwsService('dataexchange');
public static readonly DATA_EXPORTS = new InterfaceVpcEndpointAwsService('bcm-data-exports', 'aws.api');
public static readonly DATASYNC = new InterfaceVpcEndpointAwsService('datasync');
Expand Down

0 comments on commit 420be7a

Please sign in to comment.