@@ -44,18 +44,21 @@ Code excerpts that show you how to call individual service functions.
4444- [ AssociateSoftwareToken] ( actions/associate-software-token.js#L9 )
4545- [ ConfirmDevice] ( actions/confirm-device.js#L9 )
4646- [ ConfirmSignUp] ( actions/confirm-sign-up.js#L9 )
47+ - [ DeleteUser] ( ../cross-services/wkflw-pools-triggers/actions/cognito-actions.js#L122 )
4748- [ InitiateAuth] ( actions/initiate-auth.js#L10 )
4849- [ ListUsers] ( actions/list-users.js#L9 )
4950- [ ResendConfirmationCode] ( actions/resend-confirmation-code.js#L9 )
5051- [ RespondToAuthChallenge] ( actions/respond-to-auth-challenge.js#L10 )
5152- [ SignUp] ( actions/sign-up.js#L9 )
53+ - [ UpdateUserPool] ( ../cross-services/wkflw-pools-triggers/actions/cognito-actions.js#L13 )
5254- [ VerifySoftwareToken] ( actions/verify-software-token.js#L9 )
5355
5456### Scenarios
5557
5658Code examples that show you how to accomplish a specific task by calling multiple
5759functions within the same service.
5860
61+ - [ Automatically confirm known users with a Lambda function] ( ../cross-services/wkflw-pools-triggers/index.js )
5962- [ Sign up a user with a user pool that requires MFA] ( actions/admin-initiate-auth.js )
6063
6164
@@ -104,6 +107,22 @@ node ./hello.js
104107```
105108
106109
110+ #### Automatically confirm known users with a Lambda function
111+
112+ This example shows you how to automatically confirm known Amazon Cognito users with a Lambda function.
113+
114+ - Configure a user pool to call a Lambda function for the <code >PreSignUp</code > trigger.
115+ - Sign up a user with Amazon Cognito.
116+ - The Lambda function scans a DynamoDB table and automatically confirms known users.
117+ - Sign in as the new user, then clean up resources.
118+
119+ <!-- custom.scenario_prereqs.cross_CognitoAutoConfirmUser.start-->
120+ <!-- custom.scenario_prereqs.cross_CognitoAutoConfirmUser.end-->
121+
122+
123+ <!-- custom.scenarios.cross_CognitoAutoConfirmUser.start-->
124+ <!-- custom.scenarios.cross_CognitoAutoConfirmUser.end-->
125+
107126#### Sign up a user with a user pool that requires MFA
108127
109128This example shows you how to do the following:
0 commit comments