This template creates a Cognito User Pool 'my-user-pool' that optionally enables MFA for users and sets 'email' as a required attribute.

CloudFormation Template