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 CreateBackendAuthUserPoolConfig = CreateBackendAuthUserPoolConfig' {
- passwordPolicy :: Maybe CreateBackendAuthPasswordPolicyConfig
- mfa :: Maybe CreateBackendAuthMFAConfig
- forgotPassword :: Maybe CreateBackendAuthForgotPasswordConfig
- oAuth :: Maybe CreateBackendAuthOAuthConfig
- requiredSignUpAttributes :: [RequiredSignUpAttributesElement]
- signInMethod :: SignInMethod
- userPoolName :: Text
- newCreateBackendAuthUserPoolConfig :: SignInMethod -> Text -> CreateBackendAuthUserPoolConfig
- createBackendAuthUserPoolConfig_passwordPolicy :: Lens' CreateBackendAuthUserPoolConfig (Maybe CreateBackendAuthPasswordPolicyConfig)
- createBackendAuthUserPoolConfig_mfa :: Lens' CreateBackendAuthUserPoolConfig (Maybe CreateBackendAuthMFAConfig)
- createBackendAuthUserPoolConfig_forgotPassword :: Lens' CreateBackendAuthUserPoolConfig (Maybe CreateBackendAuthForgotPasswordConfig)
- createBackendAuthUserPoolConfig_oAuth :: Lens' CreateBackendAuthUserPoolConfig (Maybe CreateBackendAuthOAuthConfig)
- createBackendAuthUserPoolConfig_requiredSignUpAttributes :: Lens' CreateBackendAuthUserPoolConfig [RequiredSignUpAttributesElement]
- createBackendAuthUserPoolConfig_signInMethod :: Lens' CreateBackendAuthUserPoolConfig SignInMethod
- createBackendAuthUserPoolConfig_userPoolName :: Lens' CreateBackendAuthUserPoolConfig Text
Documentation
data CreateBackendAuthUserPoolConfig Source #
Describes the Amazon Cognito user pool configuration for the auth resource to be configured for your Amplify project.
See: newCreateBackendAuthUserPoolConfig
smart constructor.
CreateBackendAuthUserPoolConfig' | |
|
Instances
newCreateBackendAuthUserPoolConfig Source #
Create a value of CreateBackendAuthUserPoolConfig
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:passwordPolicy:CreateBackendAuthUserPoolConfig'
, createBackendAuthUserPoolConfig_passwordPolicy
- Describes the password policy for your Amazon Cognito user pool,
configured as a part of your Amplify project.
$sel:mfa:CreateBackendAuthUserPoolConfig'
, createBackendAuthUserPoolConfig_mfa
- Describes whether to apply multi-factor authentication policies for your
Amazon Cognito user pool configured as a part of your Amplify project.
$sel:forgotPassword:CreateBackendAuthUserPoolConfig'
, createBackendAuthUserPoolConfig_forgotPassword
- Describes the forgotten password policy for your Amazon Cognito user
pool, configured as a part of your Amplify project.
$sel:oAuth:CreateBackendAuthUserPoolConfig'
, createBackendAuthUserPoolConfig_oAuth
- Describes the OAuth policy and rules for your Amazon Cognito user pool,
configured as a part of your Amplify project.
$sel:requiredSignUpAttributes:CreateBackendAuthUserPoolConfig'
, createBackendAuthUserPoolConfig_requiredSignUpAttributes
- The required attributes to sign up new users in the user pool.
$sel:signInMethod:CreateBackendAuthUserPoolConfig'
, createBackendAuthUserPoolConfig_signInMethod
- Describes the sign-in methods that your Amplify app users use to log in
using the Amazon Cognito user pool, configured as a part of your Amplify
project.
$sel:userPoolName:CreateBackendAuthUserPoolConfig'
, createBackendAuthUserPoolConfig_userPoolName
- The Amazon Cognito user pool name.
createBackendAuthUserPoolConfig_passwordPolicy :: Lens' CreateBackendAuthUserPoolConfig (Maybe CreateBackendAuthPasswordPolicyConfig) Source #
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
createBackendAuthUserPoolConfig_mfa :: Lens' CreateBackendAuthUserPoolConfig (Maybe CreateBackendAuthMFAConfig) Source #
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
createBackendAuthUserPoolConfig_forgotPassword :: Lens' CreateBackendAuthUserPoolConfig (Maybe CreateBackendAuthForgotPasswordConfig) Source #
Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
createBackendAuthUserPoolConfig_oAuth :: Lens' CreateBackendAuthUserPoolConfig (Maybe CreateBackendAuthOAuthConfig) Source #
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
createBackendAuthUserPoolConfig_requiredSignUpAttributes :: Lens' CreateBackendAuthUserPoolConfig [RequiredSignUpAttributesElement] Source #
The required attributes to sign up new users in the user pool.
createBackendAuthUserPoolConfig_signInMethod :: Lens' CreateBackendAuthUserPoolConfig SignInMethod Source #
Describes the sign-in methods that your Amplify app users use to log in using the Amazon Cognito user pool, configured as a part of your Amplify project.
createBackendAuthUserPoolConfig_userPoolName :: Lens' CreateBackendAuthUserPoolConfig Text Source #
The Amazon Cognito user pool name.