Guest User

Untitled

a guest
Apr 24th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. Description: Pool de usuarios de cognito
  2.  
  3. Parameters:
  4. Stage:
  5. Description: Ambiente
  6. Type: String
  7.  
  8. Resources:
  9. UserPool:
  10. Type: AWS::Cognito::UserPool
  11. Properties:
  12. SmsVerificationMessage: 'Your verification code is {####}. '
  13. EmailVerificationSubject: Your verification code
  14. MfaConfiguration: 'OFF'
  15. UserPoolName: !Sub ${Stage}-cnb-user-pool
  16. EmailVerificationMessage: 'Your verification code is {####}. '
  17. SmsAuthenticationMessage: 'Your authentication code is {####}. '
  18. AdminCreateUserConfig:
  19. InviteMessageTemplate:
  20. EmailMessage: 'Your username is {username} and temporary password is {####}. '
  21. EmailSubject: Your temporary password
  22. SMSMessage: 'Your username is {username} and temporary password is {####}. '
  23. UnusedAccountValidityDays: 7
  24. AllowAdminCreateUserOnly: false
  25. Policies:
  26. PasswordPolicy:
  27. RequireLowercase: false
  28. RequireSymbols: false
  29. RequireNumbers: false
  30. MinimumLength: 6
  31. RequireUppercase: false
  32.  
  33. UserPoolClient:
  34. Type: AWS::Cognito::UserPoolClient
  35. Properties:
  36. ClientName: CNB
  37. UserPoolId: !Ref UserPool
  38. ExplicitAuthFlows:
  39. - ADMIN_NO_SRP_AUTH
  40.  
  41. Outputs:
  42. UserPoolID:
  43. Description: ID de pool de usuarios
  44. Value: !Ref UserPool
  45.  
  46. UserPoolProviderName:
  47. Description: Provider Name
  48. Value: !GetAtt UserPool.ProviderName
  49.  
  50. UserPoolProviderURL:
  51. Description: Provider URL
  52. Value: !GetAtt UserPool.ProviderURL
  53.  
  54. UserPoolClientID:
  55. Description: Provider URL
  56. Value: !Ref UserPoolClient
Add Comment
Please, Sign In to add comment