Skip to content

aws-cognito: enable verifying attribute changes to keep original attributes #21179

@eriktisme

Description

@eriktisme

Describe the feature

My request is to be able to configure the keeping of original attributes when auto verification is enabled for email/phone.

Use Case

Currently, it requires manual interaction of this toggle in the AWS console after creating new AWS accounts for new teams, this could be avoided as this is prone to be forgotten

Proposed Solution

Have a new property like "autoVerify" on the L2 construct e.g.

autoVerify: {
  email: true,
},
keepOriginalAttrribute: {
  email: true,
},

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.30.0 (build 1529743)

Environment details (OS name and version, etc.)

macOS Monterey, version 12.4

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-cognitoRelated to Amazon Cognitofeature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions