Skip to content

Commit af61744

Browse files
authored
chore(ec2): add VPC interface endpoints for Cognito (#35984)
Add new VPC inteface endpoints. Ref: [Amazon Cognito user pools now supports private connectivity with AWS PrivateLink](https://aws.amazon.com/about-aws/whats-new/2025/11/amazon-cognito-user-pools-private-connectivity-aws-privatelink/) ```bash $ aws ec2 describe-vpc-endpoint-services --filters "Name=service-name,Values=*cognito*" --region us-east-1 --query "ServiceNames[]" [ "com.amazonaws.us-east-1.cognito-idp", "com.amazonaws.us-east-1.cognito-idp-fips" ] ``` ### 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 5b58c56 commit af61744

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,8 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
462462
public static readonly CODEPIPELINE = new InterfaceVpcEndpointAwsService('codepipeline');
463463
public static readonly CODESTAR_CONNECTIONS = new InterfaceVpcEndpointAwsService('codestar-connections.api');
464464
public static readonly CODE_CONNECTIONS = new InterfaceVpcEndpointAwsService('codeconnections.api');
465+
public static readonly COGNITO_IDP = new InterfaceVpcEndpointAwsService('cognito-idp');
466+
public static readonly COGNITO_IDP_FIPS = new InterfaceVpcEndpointAwsService('cognito-idp-fips');
465467
public static readonly COMPREHEND = new InterfaceVpcEndpointAwsService('comprehend');
466468
public static readonly COMPREHEND_MEDICAL = new InterfaceVpcEndpointAwsService('comprehendmedical');
467469
public static readonly COMPUTE_OPTIMIZER = new InterfaceVpcEndpointAwsService('compute-optimizer');

0 commit comments

Comments
 (0)