question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enable 'AccountRecoverySetting' attribute on UserPool (L2 Construct)

See original GitHub issue

Description - New Feature Request

Enable ‘AccountRecoverySetting’ attribute on UserPool (L2 Construct)

Reproduction Steps

const cfnUserPool = PHONE_ONLY_PASSWORD_LESS_USER_POOL.node.defaultChild as CfnUserPool;
    cfnUserPool.accountRecoverySetting = {
      recoveryMechanisms: [{
        name: 'admin_only',
        priority: 1
      }]
    }

Environment

  • CDK Framework Version: 1.45.0 (build 0cfab15)
  • **Node.js Version:12.16
  • **OS :macOS
  • **Language (Version):TypeScript (~3.7.2)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
civilizeddevcommented, Jun 13, 2020

@smunukuntla

UserPool is taggable.

Example

import * as cdk from '@aws-cdk/core'
import * as cognito from '@aws-cdk/aws-cognito'

consg userPool = new cognito.UserPool(this, 'userPool', { ... })
cdk.Tag.add(userPool, 'project', 'phone-only-password-less-userpool')
0reactions
ShreeDotDevcommented, Jun 15, 2020

@civilizeddev updated title and description.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS::Cognito::UserPool AccountRecoverySetting
Use this setting to define which verified available method a user can use to recover their password when they call ForgotPassword .
Read more >
aws-cdk.aws-cognito · PyPI
The CDK Construct Library for AWS::Cognito. ... The following code configures a user pool with two standard attributes (name and address) as required...
Read more >
aws_cognito_user_pool | Resources | hashicorp/aws
Basic configuration · Enabling SMS and Software Token Multi-Factor Authentication · Using Account Recovery Setting.
Read more >
AWS Cognito General Attribute settings using Cloud formation
I am new to AWS and I am trying to create a new user-pool in that i want to achieve ...
Read more >
aws.cognito.UserPool - Pulumi
Configuration block for user pool add-ons to enable user pool advanced security mode features. Detailed below. usernameAttributes Changes to this property will ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found