Skip to content

Commit

Permalink
docs(cognito): Update README.md (#9744)
Browse files Browse the repository at this point in the history
[Problem]
CDK documentation for Cognito specifies an incorrect property (accountRecoverySettings -> accountRecovery)

[Solution]
Updated the documentation to use the correct property.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
GEMISIS committed Aug 17, 2020
1 parent 42d7782 commit c3ad47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-cognito/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ can either be email and/or SMS. Read more at [Recovering User Accounts](https://
```ts
new UserPool(this, 'UserPool', {
...,
accountRecoverySettings: AccountRecovery.EMAIL_ONLY,
accountRecovery: AccountRecovery.EMAIL_ONLY,
})
```

Expand Down

0 comments on commit c3ad47b

Please sign in to comment.