We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9584ff commit 02b9432Copy full SHA for 02b9432
python/amazon-verified-permissions-rest-api/stack/cognito/main.py
@@ -1,5 +1,6 @@
1
from aws_cdk import (
2
NestedStack,
3
+ RemovalPolicy,
4
aws_cognito as cognito,
5
)
6
from constructs import Construct
@@ -17,6 +18,9 @@ def __init__(
17
18
self,
19
"UserPool",
20
feature_plan=cognito.FeaturePlan.LITE,
21
+ sign_in_aliases=cognito.SignInAliases(email=True, username=False),
22
+ self_sign_up_enabled=True,
23
+ removal_policy=RemovalPolicy.DESTROY, # Remove this line for production use
24
25
26
cognito.UserPoolGroup(
0 commit comments