Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. authorizer': {'claims': {'aud': '4m3ak7fsqva7kokbkfl2vev6420',
  2. 'auth_time': '156074111',
  3. 'cognito:username': 'fa15f3d8-220b-4c5c-b5a6-XXXXXXXXXX',
  4. 'email': 'email@address.com',
  5. 'email_verified': 'false',
  6. 'event_id': '12345-7326-4fef-95cd-ae06665169a7',
  7. 'sub': 'fd1666d8-260b-4c1c-a5b6-466d4b42bd77',
  8. 'token_use': 'id'}},
  9.  
  10. ApiGatewayApi:
  11. Type: AWS::Serverless::Api
  12. Properties:
  13. StageName: dev
  14. Cors: "'*'"
  15. Auth:
  16. DefaultAuthorizer: CognitoAuthorizer
  17. Authorizers:
  18. CognitoAuthorizer:
  19. UserPoolArn: !GetAtt CognitoUserPool.Arn
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement