From 5eb11d26d00a5cccc18d9e4e6483dd613d4c4dbb Mon Sep 17 00:00:00 2001 From: yendoooo <140624496+yendoooo@users.noreply.github.com> Date: Sat, 8 Mar 2025 07:09:34 +0900 Subject: [PATCH] chore(ec2): add VPC interface endpoints for WAFV2 (#33685) ### Issue # (if applicable) ### Reason for this change There are no VPC endpoints for AWS WAFV2 so I added. ``` % aws ec2 describe-vpc-endpoint-services --filters "Name=service-name,Values=*waf*" --region us-east-1 --query "ServiceNames[]" [ "com.amazonaws.us-east-1.wafv2", "com.amazonaws.us-east-1.wafv2-fips" ] ``` ### Description of changes ### Describe any new or updated permissions being added ### Description of how you validated changes ### 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* --- packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts b/packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts index 2991aa96b08e5..590cd2165de6e 100644 --- a/packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts +++ b/packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts @@ -639,6 +639,8 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ public static readonly TRANSFER_SERVER = new InterfaceVpcEndpointAwsService('transfer.server'); public static readonly TRANSLATE = new InterfaceVpcEndpointAwsService('translate'); public static readonly TRUSTED_ADVISOR = new InterfaceVpcEndpointAwsService('trustedadvisor'); + public static readonly WAFV2 = new InterfaceVpcEndpointAwsService('wafv2'); + public static readonly WAFV2_FIPS = new InterfaceVpcEndpointAwsService('wafv2-fips'); public static readonly WELL_ARCHITECTED_TOOL = new InterfaceVpcEndpointAwsService('wellarchitected'); public static readonly WORKMAIL = new InterfaceVpcEndpointAwsService('workmail'); public static readonly WORKSPACES = new InterfaceVpcEndpointAwsService('workspaces');