Skip to content

cognito: support email for multi-factor authentication (MFA)  #31815

@mazyu36

Description

@mazyu36

Describe the feature

Cognito now supports email for MFA.

Ref: https://aws.amazon.com/about-aws/whats-new/2024/09/amazon-cognito-user-pools-email-authentication-option/?nc1=h_ls

In CloudFormation, EMAIL_OTP was added to EnabledMfas property at October 15, 2024.

This options is not supported yet in L2 Construct.

Use Case

To use email MFA

Proposed Solution

Add email option to MfaSecondFactor.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.162.0

Environment details (OS name and version, etc.)

All

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-cognitoRelated to Amazon Cognitoeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions