libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig

Description

 
Synopsis

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.

Constructors

CreateBackendAuthMFAConfig' 

Fields

  • settings :: Maybe Settings

    Describes the configuration settings and methods for your Amplify app users to use MFA.

  • mfaMode :: MFAMode

    Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.

Instances

Instances details
Eq CreateBackendAuthMFAConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig

Read CreateBackendAuthMFAConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig

Show CreateBackendAuthMFAConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig

Generic CreateBackendAuthMFAConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig

Associated Types

type Rep CreateBackendAuthMFAConfig :: Type -> Type #

NFData CreateBackendAuthMFAConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig

Hashable CreateBackendAuthMFAConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig

ToJSON CreateBackendAuthMFAConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig

FromJSON CreateBackendAuthMFAConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig

type Rep CreateBackendAuthMFAConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig

type Rep CreateBackendAuthMFAConfig = D1 ('MetaData "CreateBackendAuthMFAConfig" "Amazonka.AmplifyBackend.Types.CreateBackendAuthMFAConfig" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "CreateBackendAuthMFAConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Settings)) :*: S1 ('MetaSel ('Just "mfaMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MFAMode)))

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.