You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::UserPoolType

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A container for information about the user pool.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#account_recovery_settingTypes::AccountRecoverySettingType

Use this setting to define which verified available method a user can use to recover their password when they call ForgotPassword. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email.

Returns:

  • (Types::AccountRecoverySettingType)

    Use this setting to define which verified available method a user can use to recover their password when they call ForgotPassword.

#admin_create_user_configTypes::AdminCreateUserConfigType

The configuration for AdminCreateUser requests.

Returns:

#alias_attributesArray<String>

Specifies the attributes that are aliased in a user pool.

Returns:

  • (Array<String>)

    Specifies the attributes that are aliased in a user pool.

#arnString

The Amazon Resource Name (ARN) for the user pool.

Returns:

  • (String)

    The Amazon Resource Name (ARN) for the user pool.

#auto_verified_attributesArray<String>

Specifies the attributes that are auto-verified in a user pool.

Returns:

  • (Array<String>)

    Specifies the attributes that are auto-verified in a user pool.

#creation_dateTime

The date the user pool was created.

Returns:

  • (Time)

    The date the user pool was created.

#custom_domainString

A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. For example: auth.example.com.

For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.

Returns:

  • (String)

    A custom domain name that you provide to Amazon Cognito.

#device_configurationTypes::DeviceConfigurationType

The device configuration.

Returns:

#domainString

Holds the domain prefix if the user pool has a domain associated with it.

Returns:

  • (String)

    Holds the domain prefix if the user pool has a domain associated with it.

#email_configurationTypes::EmailConfigurationType

The email configuration.

Returns:

#email_configuration_failureString

The reason why the email configuration cannot send the messages to your users.

Returns:

  • (String)

    The reason why the email configuration cannot send the messages to your users.

#email_verification_messageString

The contents of the email verification message.

Returns:

  • (String)

    The contents of the email verification message.

#email_verification_subjectString

The subject of the email verification message.

Returns:

  • (String)

    The subject of the email verification message.

#estimated_number_of_usersInteger

A number estimating the size of the user pool.

Returns:

  • (Integer)

    A number estimating the size of the user pool.

#idString

The ID of the user pool.

Returns:

  • (String)

    The ID of the user pool.

#lambda_configTypes::LambdaConfigType

The AWS Lambda triggers associated with the user pool.

Returns:

#last_modified_dateTime

The date the user pool was last modified.

Returns:

  • (Time)

    The date the user pool was last modified.

#mfa_configurationString

Can be one of the following values:

  • OFF - MFA tokens are not required and cannot be specified during user registration.

  • ON - MFA tokens are required for all user registrations. You can only specify required when you are initially creating a user pool.

  • OPTIONAL - Users have the option when registering to create an MFA token.

    Possible values:

    • OFF
    • ON
    • OPTIONAL

Returns:

  • (String)

    Can be one of the following values:.

#nameString

The name of the user pool.

Returns:

  • (String)

    The name of the user pool.

#policiesTypes::UserPoolPolicyType

The policies associated with the user pool.

Returns:

#schema_attributesArray<Types::SchemaAttributeType>

A container with the schema attributes of a user pool.

Returns:

#sms_authentication_messageString

The contents of the SMS authentication message.

Returns:

  • (String)

    The contents of the SMS authentication message.

#sms_configurationTypes::SmsConfigurationType

The SMS configuration.

Returns:

#sms_configuration_failureString

The reason why the SMS configuration cannot send the messages to your users.

Returns:

  • (String)

    The reason why the SMS configuration cannot send the messages to your users.

#sms_verification_messageString

The contents of the SMS verification message.

Returns:

  • (String)

    The contents of the SMS verification message.

#statusString

The status of a user pool.

Possible values:

  • Enabled
  • Disabled

Returns:

  • (String)

    The status of a user pool.

#user_pool_add_onsTypes::UserPoolAddOnsType

The user pool add-ons.

Returns:

#user_pool_tagsHash<String,String>

The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.

Returns:

  • (Hash<String,String>)

    The tags that are assigned to the user pool.

#username_attributesArray<String>

Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.

Returns:

  • (Array<String>)

    Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.

#verification_message_templateTypes::VerificationMessageTemplateType

The template for verification messages.

Returns: