@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:46:52.483Z") @Stability(value=Stable) 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()
The MFA token is a time-based one time password that is generated by a hardware or software token.
|
Boolean |
getSms()
The MFA token is sent to the user via SMS to their verified phone numbers.
|
@Stability(value=Stable) @NotNull Boolean getOtp()
Default: false
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa-totp.html@Stability(value=Stable) @NotNull Boolean getSms()
Default: true
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa-sms-text-message.html@Stability(value=Stable) static MfaSecondFactor.Builder builder()
MfaSecondFactor.Builder of MfaSecondFactorCopyright © 2021. All rights reserved.