Skip to content

Commit a1eef1d

Browse files
authored
chore(ec2): add missing interface VPC endpoint (#31907)
### Issue # (if applicable) N/A ### Reason for this change The `InterfaceVpcEndpointAwsService` class was missing the AWS Price List service. ### Description of changes Added `InterfaceVpcEndpointAwsService.PRICING_API` to the enum, connected to the service `'pricing.api'` in accordance with [documentation](https://docs.aws.amazon.com/vpc/latest/privatelink/aws-services-privatelink-support.html). ### Description of how you validated changes Verified the extension via the documentation, and confirmed the endpoint exists in the console: ![image](https://github.com/user-attachments/assets/4a85b146-fd97-4ec7-94a0-0f7d6551e6f1) ### 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 9bf7e24 commit a1eef1d

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
@@ -517,6 +517,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
517517
public static readonly PIPES_FIPS = new InterfaceVpcEndpointAwsService('pipes-fips');
518518
public static readonly PRICE_LIST = new InterfaceVpcEndpointAwsService('pricing.api');
519519
public static readonly POLLY = new InterfaceVpcEndpointAwsService('polly');
520+
public static readonly PRICING_API = new InterfaceVpcEndpointAwsService('pricing.api');
520521
public static readonly PRIVATE_5G = new InterfaceVpcEndpointAwsService('private-networks');
521522
public static readonly PRIVATE_CERTIFICATE_AUTHORITY = new InterfaceVpcEndpointAwsService('acm-pca');
522523
public static readonly PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_AD = new InterfaceVpcEndpointAwsService('pca-connector-ad');

0 commit comments

Comments
 (0)