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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.MfaSecondFactor
MfaSecondFactor.Builder, MfaSecondFactor.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(MfaSecondFactor.Builder builder) Constructor that initializes the object based on literal property values passed by theMfaSecondFactor.Builder
.protected
Jsii$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.JsonNode
final boolean
final Boolean
getEmail()
The MFA token is sent to the user via EMAIL.final Boolean
getOtp()
The MFA token is a time-based one time password that is generated by a hardware or software token.final Boolean
getSms()
The MFA token is sent to the user via SMS to their verified phone numbers.final int
hashCode()
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:MfaSecondFactor
The MFA token is a time-based one time password that is generated by a hardware or software token.Default: false
- Specified by:
getOtp
in interfaceMfaSecondFactor
- See Also:
-
getSms
Description copied from interface:MfaSecondFactor
The MFA token is sent to the user via SMS to their verified phone numbers.Default: true
- Specified by:
getSms
in interfaceMfaSecondFactor
- See Also:
-
getEmail
Description copied from interface:MfaSecondFactor
The MFA token is sent to the user via EMAIL.To enable email-based MFA, set
email
property to the Amazon SES email-sending configuration and setadvancedSecurityMode
toAdvancedSecurity.ENFORCED
orAdvancedSecurity.AUDIT
Default: false
- Specified by:
getEmail
in interfaceMfaSecondFactor
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-