From 8e7b0065f3620b1953aa98ac46af495e313e4342 Mon Sep 17 00:00:00 2001 From: Ryan Lewis Date: Tue, 13 Jun 2017 22:43:53 -0700 Subject: [PATCH 1/2] changing event link --- docs/providers/aws/events/cognito-user-pool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/providers/aws/events/cognito-user-pool.md b/docs/providers/aws/events/cognito-user-pool.md index b190d8897..f1e24453e 100644 --- a/docs/providers/aws/events/cognito-user-pool.md +++ b/docs/providers/aws/events/cognito-user-pool.md @@ -112,4 +112,4 @@ resources: Type: AWS::Cognito::UserPool ``` -[aws-triggers-list]: http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html#cognito-user-pools-lambda-trigger-syntax-shared +[aws-triggers-list]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html From 0164701655626854c2965acfe4d469c8ab5c601e Mon Sep 17 00:00:00 2001 From: Ryan Lewis Date: Tue, 13 Jun 2017 22:50:59 -0700 Subject: [PATCH 2/2] added words --- docs/providers/aws/events/cognito-user-pool.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/providers/aws/events/cognito-user-pool.md b/docs/providers/aws/events/cognito-user-pool.md index f1e24453e..2af34ca39 100644 --- a/docs/providers/aws/events/cognito-user-pool.md +++ b/docs/providers/aws/events/cognito-user-pool.md @@ -14,7 +14,8 @@ layout: Doc ## Valid Triggers -Serverless supports all Cognito User Pool Triggers as specified [here][aws-triggers-list]. +Serverless supports all Cognito User Pool Triggers as specified [here][aws-triggers-list]. Use [this guide][aws-triggers-guide] to understand +the event objects that will be passed to your function. ## Simple event definition @@ -112,4 +113,6 @@ resources: Type: AWS::Cognito::UserPool ``` -[aws-triggers-list]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html +[aws-triggers-guide]: http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html +[aws-triggers-list]: +https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html