Created
May 18, 2017 19:45
-
-
Save Pwntus/25d13cc0b003df692758d03f941c7bed to your computer and use it in GitHub Desktop.
Revisions
-
Pwntus created this gist
May 18, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ 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: - email - preferred_username AutoVerifiedAttributes: - email # Etc... # User Pool Client MyUserPoolClient: Type: AWS::Cognito::UserPoolClient Properties: ClientName: my-userpool-client-name GenerateSecret: False RefreshTokenValidity: 30 UserPoolId: Ref: MyUserPool