Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Description: Pool de usuarios de cognito
- Parameters:
- Stage:
- Description: Ambiente
- Type: String
- Resources:
- UserPool:
- Type: AWS::Cognito::UserPool
- Properties:
- SmsVerificationMessage: 'Your verification code is {####}. '
- EmailVerificationSubject: Your verification code
- MfaConfiguration: 'OFF'
- UserPoolName: !Sub ${Stage}-cnb-user-pool
- EmailVerificationMessage: 'Your verification code is {####}. '
- SmsAuthenticationMessage: 'Your authentication code is {####}. '
- AdminCreateUserConfig:
- InviteMessageTemplate:
- EmailMessage: 'Your username is {username} and temporary password is {####}. '
- EmailSubject: Your temporary password
- SMSMessage: 'Your username is {username} and temporary password is {####}. '
- UnusedAccountValidityDays: 7
- AllowAdminCreateUserOnly: false
- Policies:
- PasswordPolicy:
- RequireLowercase: false
- RequireSymbols: false
- RequireNumbers: false
- MinimumLength: 6
- RequireUppercase: false
- UserPoolClient:
- Type: AWS::Cognito::UserPoolClient
- Properties:
- ClientName: CNB
- UserPoolId: !Ref UserPool
- ExplicitAuthFlows:
- - ADMIN_NO_SRP_AUTH
- Outputs:
- UserPoolID:
- Description: ID de pool de usuarios
- Value: !Ref UserPool
- UserPoolProviderName:
- Description: Provider Name
- Value: !GetAtt UserPool.ProviderName
- UserPoolProviderURL:
- Description: Provider URL
- Value: !GetAtt UserPool.ProviderURL
- UserPoolClientID:
- Description: Provider URL
- Value: !Ref UserPoolClient
Add Comment
Please, Sign In to add comment