This is an example project showing how to setup Cognito User Pool federation using SAML
The CDK code can be found in src directory
The CloudFormation template can be found at cdk.out/assembly-CognitoApp/CognitoApp-AuthStack.template.json
The Terraform code can be found at terraform