feat(cognito): inbound federation Lambda trigger#37082
Open
badmintoncryer wants to merge 10 commits intoaws:mainfrom
Open
feat(cognito): inbound federation Lambda trigger#37082badmintoncryer wants to merge 10 commits intoaws:mainfrom
badmintoncryer wants to merge 10 commits intoaws:mainfrom
Conversation
Add support for the inbound federation Lambda trigger in Cognito User Pool. This trigger allows transforming and customizing federated user attributes during authentication, useful for modifying large group attributes from external SAML or OIDC providers that exceed Cognito's 2,048 character limit. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
aws-cdk-automation
previously requested changes
Feb 25, 2026
…with lambda triggers - Implemented an integration test for AWS Cognito user pools to verify inbound federation functionality. - Created a Lambda function to handle inbound federation requests. - Configured two user pools: one using the lambdaTriggers property and another using the addTrigger method. - Added assertions to validate the Lambda configuration in both user pools.
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
Contributor
|
|
||||||||||||||
Contributor
|
|
||||||||||||||
…tion trigger The inboundFederation trigger requires IFunction (not IFunctionRef) because addLambdaPermission calls fn.addPermission(), consistent with all other triggers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue # (if applicable)
N/A
Reason for this change
Cognito User Pool now supports the inbound federation Lambda trigger, which allows transforming and customizing federated user attributes during authentication.
Description of changes
INBOUND_FEDERATIONoperation toUserPoolOperationclassDescribe any new or updated permissions being added
None
Description of how you validated changes
add both unit and integ tests
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license