@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:57.228Z")
public interface AutoVerifiedAttrs
Example:
UserPool.Builder.create(this, "myuserpool") // ... // ... .signInAliases(SignInAliases.builder().username(true).email(true).build()) .autoVerify(AutoVerifiedAttrs.builder().email(true).phone(true).build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
AutoVerifiedAttrs.Builder
A builder for
AutoVerifiedAttrs |
static class |
AutoVerifiedAttrs.Jsii$Proxy
An implementation for
AutoVerifiedAttrs |
Modifier and Type | Method and Description |
---|---|
static AutoVerifiedAttrs.Builder |
builder() |
default java.lang.Boolean |
getEmail()
Whether the email address of the user should be auto verified at sign up.
|
default java.lang.Boolean |
getPhone()
Whether the phone number of the user should be auto verified at sign up.
|
default java.lang.Boolean getEmail()
Note: If both email
and phone
is set, Cognito only verifies the phone number. To also verify email, see here -
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html
Default: - true, if email is turned on for `signIn`. false, otherwise.
default java.lang.Boolean getPhone()
Default: - true, if phone is turned on for `signIn`. false, otherwise.
static AutoVerifiedAttrs.Builder builder()
AutoVerifiedAttrs.Builder
of AutoVerifiedAttrs