@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:16.750Z") @Stability(value=Experimental) public interface MfaSecondFactor extends software.amazon.jsii.JsiiSerializable
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html| Modifier and Type | Interface and Description |
|---|---|
static class |
MfaSecondFactor.Builder
A builder for
MfaSecondFactor |
static class |
MfaSecondFactor.Jsii$Proxy
An implementation for
MfaSecondFactor |
| Modifier and Type | Method and Description |
|---|---|
static MfaSecondFactor.Builder |
builder() |
Boolean |
getOtp()
(experimental) The MFA token is a time-based one time password that is generated by a hardware or software token.
|
Boolean |
getSms()
(experimental) The MFA token is sent to the user via SMS to their verified phone numbers.
|
@Stability(value=Experimental) @NotNull Boolean getOtp()
Default: false
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa-totp.html@Stability(value=Experimental) @NotNull Boolean getSms()
Default: true
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa-sms-text-message.html@Stability(value=Experimental) static MfaSecondFactor.Builder builder()
MfaSecondFactor.Builder of MfaSecondFactorCopyright © 2021. All rights reserved.