Here are the steps to create an AWS Cognito pool with email sign-up using CloudFormation:
Here's an example CloudFormation template that accomplishes this:
AWSTemplateFormatVersion: '2010-09-09'
Resources:
MyUserPool:
Type: 'AWS::Cognito::UserPool'
Properties:
Schema:
- Name: email
AttributeDataType: String
Mutable: true
Required: true
UsernameAttributes:
- email
AutoVerifiedAttributes:
- email
MyUserPoolClient:
Type: 'AWS::Cognito::UserPoolClient'
Properties:
ClientName: my-app
UserPoolId: !Ref MyUserPool
MyIdentityPool:
Type: 'AWS::Cognito::IdentityPool'
Properties:
IdentityPoolName: my-app-identity-pool
CognitoIdentityProviders:
- ClientId: !Ref MyUserPoolClient
ProviderName: !GetAtt MyUserPool.ProviderName
Outputs:
UserPoolId:
Value: !Ref MyUserPool
UserPoolClientId:
Value: !Ref MyUserPoolClient
Note: This template is just an example and may need to be adapted for your specific use case.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-09-21 11:00:00 +0000
Seen: 9 times
Last updated: Mar 12 '22
How can Django Admin accommodate a variety of formats and locales for its input fields?
How can an array be passed using typo3 flexform xml and itemsProcConfig?
Is it possible to invoke an asynchronous function without using the await keyword?
How can metadata be linked to a series in Polars?
What is the process of utilizing the map function to map a pandas column using a dictionary?
How can the orientation of images be corrected during uploading using Plupload?