Module Values.CreateBackendAuthUserPoolConfigSource

Describes the Amazon Cognito user pool configuration for the auth resource to be configured for your Amplify project.

Sourcetype nonrec t = {
  1. forgotPassword : CreateBackendAuthForgotPasswordConfig.t option;
    (*

    (DEPRECATED) Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.

    *)
  2. mfa : CreateBackendAuthMFAConfig.t option;
    (*

    Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.

    *)
  3. oAuth : CreateBackendAuthOAuthConfig.t option;
    (*

    Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.

    *)
  4. passwordPolicy : CreateBackendAuthPasswordPolicyConfig.t option;
    (*

    Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.

    *)
  5. requiredSignUpAttributes : ListOfRequiredSignUpAttributesElement.t;
    (*

    The required attributes to sign up new users in the user pool.

    *)
  6. signInMethod : SignInMethod.t;
    (*

    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.

    *)
  7. userPoolName : string;
    (*

    The Amazon Cognito user pool name.

    *)
  8. verificationMessage : CreateBackendAuthVerificationMessageConfig.t option;
    (*

    Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.

    *)
}
Sourceval context_ : string
Sourceval make : ?forgotPassword:??? -> ?mfa:??? -> ?oAuth:??? -> ?passwordPolicy:??? -> ?verificationMessage:??? -> requiredSignUpAttributes:ListOfRequiredSignUpAttributesElement.t -> signInMethod:SignInMethod.t -> userPoolName:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `List of [> `Enum of string | `String of string ] list | `String of string | `Structure of (string * [> `List of [> `Enum of string ] list | `String of string | `Structure of (string * [> `String of string ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t