Created
May 18, 2017 19:45
-
-
Save Pwntus/25d13cc0b003df692758d03f941c7bed to your computer and use it in GitHub Desktop.
SLS Cognito
This file contains hidden or 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
resources: | |
Resources: | |
# User Pool | |
MyUserPool: | |
Type: AWS::Cognito::UserPool | |
Properties: | |
AdminCreateUserConfig: | |
AllowAdminCreateUserOnly: False | |
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 | |
AliasAttributes: | |
- preferred_username | |
AutoVerifiedAttributes: | |
# Etc... | |
# User Pool Client | |
MyUserPoolClient: | |
Type: AWS::Cognito::UserPoolClient | |
Properties: | |
ClientName: my-userpool-client-name | |
GenerateSecret: False | |
RefreshTokenValidity: 30 | |
UserPoolId: | |
Ref: MyUserPool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment