Class MfaSecondFactor.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.MfaSecondFactor.Jsii$Proxy
- All Implemented Interfaces:
MfaSecondFactor,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
MfaSecondFactor
@Stability(Stable)
@Internal
public static final class MfaSecondFactor.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements MfaSecondFactor
An implementation for
MfaSecondFactor-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.MfaSecondFactor
MfaSecondFactor.Builder, MfaSecondFactor.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(MfaSecondFactor.Builder builder) Constructor that initializes the object based on literal property values passed by theMfaSecondFactor.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleangetEmail()The MFA token is sent to the user via EMAIL.final BooleangetOtp()The MFA token is a time-based one time password that is generated by a hardware or software token.final BooleangetSms()The MFA token is sent to the user via SMS to their verified phone numbers.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theMfaSecondFactor.Builder.
-
-
Method Details
-
getOtp
Description copied from interface:MfaSecondFactorThe MFA token is a time-based one time password that is generated by a hardware or software token.Default: false
- Specified by:
getOtpin interfaceMfaSecondFactor- See Also:
-
getSms
Description copied from interface:MfaSecondFactorThe MFA token is sent to the user via SMS to their verified phone numbers.Default: true
- Specified by:
getSmsin interfaceMfaSecondFactor- See Also:
-
getEmail
Description copied from interface:MfaSecondFactorThe MFA token is sent to the user via EMAIL.To enable email-based MFA, set
emailproperty to the Amazon SES email-sending configuration and setfeturePlantoFeaturePlan.ESSENTIALSorFeaturePlan.PLUSDefault: false
- Specified by:
getEmailin interfaceMfaSecondFactor- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-