Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.CognitoIdentityProvider.Types.SoftwareTokenMfaSettingsType
Description
Synopsis
- data SoftwareTokenMfaSettingsType = SoftwareTokenMfaSettingsType' {}
- newSoftwareTokenMfaSettingsType :: SoftwareTokenMfaSettingsType
- softwareTokenMfaSettingsType_enabled :: Lens' SoftwareTokenMfaSettingsType (Maybe Bool)
- softwareTokenMfaSettingsType_preferredMfa :: Lens' SoftwareTokenMfaSettingsType (Maybe Bool)
Documentation
data SoftwareTokenMfaSettingsType Source #
The type used for enabling software token MFA at the user level. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted. If you would like MFA to be applied selectively based on the assessed risk level of sign in attempts, disable MFA for users and turn on Adaptive Authentication for the user pool.
See: newSoftwareTokenMfaSettingsType
smart constructor.
Constructors
SoftwareTokenMfaSettingsType' | |
Fields
|
Instances
newSoftwareTokenMfaSettingsType :: SoftwareTokenMfaSettingsType Source #
Create a value of SoftwareTokenMfaSettingsType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enabled:SoftwareTokenMfaSettingsType'
, softwareTokenMfaSettingsType_enabled
- Specifies whether software token MFA is enabled. If an MFA type is
enabled for a user, the user will be prompted for MFA during all sign in
attempts, unless device tracking is turned on and the device has been
trusted.
$sel:preferredMfa:SoftwareTokenMfaSettingsType'
, softwareTokenMfaSettingsType_preferredMfa
- Specifies whether software token MFA is the preferred MFA method.
softwareTokenMfaSettingsType_enabled :: Lens' SoftwareTokenMfaSettingsType (Maybe Bool) Source #
Specifies whether software token MFA is enabled. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted.
softwareTokenMfaSettingsType_preferredMfa :: Lens' SoftwareTokenMfaSettingsType (Maybe Bool) Source #
Specifies whether software token MFA is the preferred MFA method.