Last active
February 19, 2019 22:26
-
-
Save alexcasalboni/c4be6d2cd152f119bd69922578bf40bc to your computer and use it in GitHub Desktop.
Amazon Cognito User Pools - AWS Lambda hook example (YAML)
This file contains 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
AWSTemplateFormatVersion: '2010-09-09' | |
Transform: 'AWS::Serverless-2016-10-31' | |
Resources: | |
MyFunction: | |
Type: 'AWS::Serverless::Function' | |
Properties: | |
Handler: index.handler | |
# ... | |
# all the other properties here | |
# ... | |
MyUserPool: | |
Type: AWS::Cognito::UserPool | |
Properties: | |
UserPoolName: my-user-pool-name | |
# ... | |
# all the other properties here | |
# ... | |
LambdaConfig: | |
CustomMessage: !GetAtt MyFunction.Arn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment