@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:46.863Z")
public interface MfaSecondFactor
Example:
UserPool.Builder.create(this, "myuserpool") // ... .mfa(Mfa.REQUIRED) .mfaSecondFactor(MfaSecondFactor.builder() .sms(true) .otp(true) .build()) .build();
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() |
java.lang.Boolean |
getOtp()
The MFA token is a time-based one time password that is generated by a hardware or software token.
|
java.lang.Boolean |
getSms()
The MFA token is sent to the user via SMS to their verified phone numbers.
|
java.lang.Boolean getOtp()
Default: false
java.lang.Boolean getSms()
Default: true
static MfaSecondFactor.Builder builder()
MfaSecondFactor.Builder
of MfaSecondFactor