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 |
Synopsis
- data CreateBackendAuthMFAConfig = CreateBackendAuthMFAConfig' {}
- newCreateBackendAuthMFAConfig :: MFAMode -> CreateBackendAuthMFAConfig
- createBackendAuthMFAConfig_settings :: Lens' CreateBackendAuthMFAConfig (Maybe Settings)
- createBackendAuthMFAConfig_mfaMode :: Lens' CreateBackendAuthMFAConfig MFAMode
Documentation
data CreateBackendAuthMFAConfig Source #
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
See: newCreateBackendAuthMFAConfig
smart constructor.
Instances
newCreateBackendAuthMFAConfig Source #
Create a value of CreateBackendAuthMFAConfig
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:settings:CreateBackendAuthMFAConfig'
, createBackendAuthMFAConfig_settings
- Describes the configuration settings and methods for your Amplify app
users to use MFA.
$sel:mfaMode:CreateBackendAuthMFAConfig'
, createBackendAuthMFAConfig_mfaMode
- Describes whether MFA should be [ON, OFF, or OPTIONAL] for
authentication in your Amplify project.
createBackendAuthMFAConfig_settings :: Lens' CreateBackendAuthMFAConfig (Maybe Settings) Source #
Describes the configuration settings and methods for your Amplify app users to use MFA.
createBackendAuthMFAConfig_mfaMode :: Lens' CreateBackendAuthMFAConfig MFAMode Source #
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.