Skip to content

aws.cognito_idp.describe_user_pool

Example SQL Queries

SELECT * FROM
aws.cognito_idp.describe_user_pool
WHERE
"user_pool_id" = 'VALUE';

Description

Returns the configuration information and metadata of the specified user pool.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

Table Definition

Column NameColumn Data Type
user_pool_id Required Input Column

The user pool ID for the user pool you want to describe.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
user_pool

The container of metadata returned by the server to describe the pool.

STRUCT(
"id" VARCHAR,
"name" VARCHAR,
"policies" STRUCT(
"password_policy" STRUCT(
"minimum_length" BIGINT,
"require_uppercase" BOOLEAN,
"require_lowercase" BOOLEAN,
"require_numbers" BOOLEAN,
"require_symbols" BOOLEAN,
"password_history_size" BIGINT,
"temporary_password_validity_days" BIGINT
)
),
"deletion_protection" VARCHAR,
"lambda_config" STRUCT(
"pre_sign_up" VARCHAR,
"custom_message" VARCHAR,
"post_confirmation" VARCHAR,
"pre_authentication" VARCHAR,
"post_authentication" VARCHAR,
"define_auth_challenge" VARCHAR,
"create_auth_challenge" VARCHAR,
"verify_auth_challenge_response" VARCHAR,
"pre_token_generation" VARCHAR,
"user_migration" VARCHAR,
"pre_token_generation_config" STRUCT(
"lambda_version" VARCHAR,
"lambda_arn" VARCHAR
),
"custom_sms_sender" STRUCT(
"lambda_version" VARCHAR,
"lambda_arn" VARCHAR
),
"custom_email_sender" STRUCT(
"lambda_version" VARCHAR,
"lambda_arn" VARCHAR
),
"kms_key_id" VARCHAR
),
"status" VARCHAR,
"last_modified_date" TIMESTAMP_S,
"creation_date" TIMESTAMP_S,
"schema_attributes" STRUCT(
"name" VARCHAR,
"attribute_data_type" VARCHAR,
"developer_only_attribute" BOOLEAN,
"mutable" BOOLEAN,
"required" BOOLEAN,
"number_attribute_constraints" STRUCT(
"min_value" VARCHAR,
"max_value" VARCHAR
),
"string_attribute_constraints" STRUCT(
"min_length" VARCHAR,
"max_length" VARCHAR
)
)[],
"auto_verified_attributes" VARCHAR[],
"alias_attributes" VARCHAR[],
"username_attributes" VARCHAR[],
"sms_verification_message" VARCHAR,
"email_verification_message" VARCHAR,
"email_verification_subject" VARCHAR,
"verification_message_template" STRUCT(
"sms_message" VARCHAR,
"email_message" VARCHAR,
"email_subject" VARCHAR,
"email_message_by_link" VARCHAR,
"email_subject_by_link" VARCHAR,
"default_email_option" VARCHAR
),
"sms_authentication_message" VARCHAR,
"user_attribute_update_settings" STRUCT(
"attributes_require_verification_before_update" VARCHAR[]
),
"mfa_configuration" VARCHAR,
"device_configuration" STRUCT(
"challenge_required_on_new_device" BOOLEAN,
"device_only_remembered_on_user_prompt" BOOLEAN
),
"estimated_number_of_users" BIGINT,
"email_configuration" STRUCT(
"source_arn" VARCHAR,
"reply_to_email_address" VARCHAR,
"email_sending_account" VARCHAR,
"from" VARCHAR,
"configuration_set" VARCHAR
),
"sms_configuration" STRUCT(
"sns_caller_arn" VARCHAR,
"external_id" VARCHAR,
"sns_region" VARCHAR
),
"user_pool_tags" MAP(VARCHAR, VARCHAR),
"sms_configuration_failure" VARCHAR,
"email_configuration_failure" VARCHAR,
"domain" VARCHAR,
"custom_domain" VARCHAR,
"admin_create_user_config" STRUCT(
"allow_admin_create_user_only" BOOLEAN,
"unused_account_validity_days" BIGINT,
"invite_message_template" STRUCT(
"sms_message" VARCHAR,
"email_message" VARCHAR,
"email_subject" VARCHAR
)
),
"user_pool_add_ons" STRUCT(
"advanced_security_mode" VARCHAR,
"advanced_security_additional_flows" STRUCT(
"custom_auth_mode" VARCHAR
)
),
"username_configuration" STRUCT(
"case_sensitive" BOOLEAN
),
"arn" VARCHAR,
"account_recovery_setting" STRUCT(
"recovery_mechanisms" STRUCT(
"priority" BIGINT,
"name" VARCHAR
)[]
)
)
Show child fields
user_pool.account_recovery_setting

The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.

Show child fields
user_pool.account_recovery_setting.recovery_mechanisms[]
Show child fields
user_pool.account_recovery_setting.recovery_mechanisms[].name

The recovery method for a user.

user_pool.account_recovery_setting.recovery_mechanisms[].priority

A positive integer specifying priority of a method with 1 being the highest priority.

user_pool.admin_create_user_config

The configuration for AdminCreateUser requests.

Show child fields
user_pool.admin_create_user_config.allow_admin_create_user_only

Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app.

user_pool.admin_create_user_config.invite_message_template

The message template to be used for the welcome message to new users.

See also Customizing User Invitation Messages.

Show child fields
user_pool.admin_create_user_config.invite_message_template.email_message

The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.

user_pool.admin_create_user_config.invite_message_template.email_subject

The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.

user_pool.admin_create_user_config.invite_message_template.sms_message

The message template for SMS messages.

user_pool.admin_create_user_config.unused_account_validity_days

The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. The default value for this parameter is 7.

If you set a value for TemporaryPasswordValidityDays in PasswordPolicy, that value will be used, and UnusedAccountValidityDays will be no longer be an available parameter for that user pool.

user_pool.alias_attributes[]
user_pool.arn

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

user_pool.auto_verified_attributes[]
user_pool.creation_date

The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

user_pool.custom_domain

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. An example of a custom domain name might be auth.example.com.

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

user_pool.deletion_protection

When active, DeletionProtection prevents accidental deletion of your user pool. Before you can delete a user pool that you have protected against deletion, you must deactivate this feature.

When you try to delete a protected user pool in a DeleteUserPool API request, Amazon Cognito returns an InvalidParameterException error. To delete a protected user pool, send a new DeleteUserPool request after you deactivate deletion protection in an UpdateUserPool API request.

user_pool.device_configuration

The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.

When you provide a value for any DeviceConfiguration field, you activate the Amazon Cognito device-remembering feature.

Show child fields
user_pool.device_configuration.challenge_required_on_new_device

When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).

Whether or not ChallengeRequiredOnNewDevice is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.

user_pool.device_configuration.device_only_remembered_on_user_prompt

When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a ConfirmDevice API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an UpdateDeviceStatus API request.

When DeviceOnlyRememberedOnUserPrompt is false, Amazon Cognito immediately remembers devices that you register in a ConfirmDevice API request.

user_pool.domain

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

user_pool.email_configuration

The email configuration of your user pool. The email configuration type sets your preferred sending method, Amazon Web Services Region, and sender for messages from your user pool.

Show child fields
user_pool.email_configuration.configuration_set

The set of configuration rules that can be applied to emails sent using Amazon Simple Email Service. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails:

Event publishing

Amazon Simple Email Service can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other Amazon Web Services services such as and Amazon CloudWatch

IP pool management

When leasing dedicated IP addresses with Amazon Simple Email Service, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets.

user_pool.email_configuration.email_sending_account

Specifies whether Amazon Cognito uses its built-in functionality to send your users email messages, or uses your Amazon Simple Email Service email configuration. Specify one of the following values:

COGNITO_DEFAULT

When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is less than the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration.

To look up the email delivery limit for the default option, see Limits in the Amazon Cognito Developer Guide.

The default FROM address is no-reply@verificationemail.com. To customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon SES verified email address for the SourceArn parameter.

DEVELOPER

When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your Amazon Web Services account.

If you use this option, provide the ARN of an Amazon SES verified email address for the SourceArn parameter.

Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a service-linked role, which is a type of role in your Amazon Web Services account. This role contains the permissions that allow you to access Amazon SES and send email messages from your email address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide.

user_pool.email_configuration.from

Either the sender’s email address or the sender’s name with their email address. For example, testuser@example.com or Test User <testuser@example.com>. This address appears before the body of the email.

user_pool.email_configuration.reply_to_email_address

The destination to which the receiver of the email should reply.

user_pool.email_configuration.source_arn

The ARN of a verified email address or an address from a verified domain in Amazon SES. You can set a SourceArn email from a verified domain only with an API request. You can set a verified email address, but not an address in a verified domain, in the Amazon Cognito console. Amazon Cognito uses the email address that you provide in one of the following ways, depending on the value that you specify for the EmailSendingAccount parameter:

  • If you specify COGNITO_DEFAULT, Amazon Cognito uses this address as the custom FROM address when it emails your users using its built-in email account.

  • If you specify DEVELOPER, Amazon Cognito emails your users with this address by calling Amazon SES on your behalf.

The Region value of the SourceArn parameter must indicate a supported Amazon Web Services Region of your user pool. Typically, the Region in the SourceArn and the user pool Region are the same. For more information, see Amazon SES email configuration regions in the Amazon Cognito Developer Guide.

user_pool.email_configuration_failure

Deprecated. Review error codes from API requests with EventSource:cognito-idp.amazonaws.com in CloudTrail for information about problems with user pool email configuration.

user_pool.email_verification_message

This parameter is no longer used. See VerificationMessageTemplateType.

user_pool.email_verification_subject

This parameter is no longer used. See VerificationMessageTemplateType.

user_pool.estimated_number_of_users

A number estimating the size of the user pool.

user_pool.id

The ID of the user pool.

user_pool.lambda_config

The Lambda triggers associated with the user pool.

Show child fields
user_pool.lambda_config.create_auth_challenge

Creates an authentication challenge.

user_pool.lambda_config.custom_email_sender

A custom email sender Lambda trigger.

Show child fields
user_pool.lambda_config.custom_email_sender.lambda_arn

The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.

user_pool.lambda_config.custom_email_sender.lambda_version

The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.

You must use a LambdaVersion of V1_0 with a custom sender function.

user_pool.lambda_config.custom_message

A custom Message Lambda trigger.

user_pool.lambda_config.custom_sms_sender

A custom SMS sender Lambda trigger.

Show child fields
user_pool.lambda_config.custom_sms_sender.lambda_arn

The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.

user_pool.lambda_config.custom_sms_sender.lambda_version

The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.

You must use a LambdaVersion of V1_0 with a custom sender function.

user_pool.lambda_config.define_auth_challenge

Defines the authentication challenge.

user_pool.lambda_config.kms_key_id

The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender and CustomSMSSender.

user_pool.lambda_config.post_authentication

A post-authentication Lambda trigger.

user_pool.lambda_config.post_confirmation

A post-confirmation Lambda trigger.

user_pool.lambda_config.pre_authentication

A pre-authentication Lambda trigger.

user_pool.lambda_config.pre_sign_up

A pre-registration Lambda trigger.

user_pool.lambda_config.pre_token_generation

The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.

Set this parameter for legacy purposes. If you also set an ARN in PreTokenGenerationConfig, its value must be identical to PreTokenGeneration. For new instances of pre token generation triggers, set the LambdaArn of PreTokenGenerationConfig.

You can set

user_pool.lambda_config.pre_token_generation_config

The detailed configuration of a pre token generation trigger. If you also set an ARN in PreTokenGeneration, its value must be identical to PreTokenGenerationConfig.

Show child fields
user_pool.lambda_config.pre_token_generation_config.lambda_arn

The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.

This parameter and the PreTokenGeneration property of LambdaConfig have the same value. For new instances of pre token generation triggers, set LambdaArn.

user_pool.lambda_config.pre_token_generation_config.lambda_version

The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.

user_pool.lambda_config.user_migration

The user migration Lambda config type.

user_pool.lambda_config.verify_auth_challenge_response

Verifies the authentication challenge response.

user_pool.last_modified_date

The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

user_pool.mfa_configuration

Can be one of the following values:

  • OFF - MFA tokens aren't required and can't be specified during user registration.

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

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

user_pool.name

The name of the user pool.

user_pool.policies

The policies associated with the user pool.

Show child fields
user_pool.policies.password_policy

The password policy.

Show child fields
user_pool.policies.password_policy.minimum_length

The minimum length of the password in the policy that you have set. This value can't be less than 6.

user_pool.policies.password_policy.password_history_size

The number of previous passwords that you want Amazon Cognito to restrict each user from reusing. Users can't set a password that matches any of n previous passwords, where n is the value of PasswordHistorySize.

Password history isn't enforced and isn't displayed in DescribeUserPool responses when you set this value to 0 or don't provide it. To activate this setting, advanced security features must be active in your user pool.

user_pool.policies.password_policy.require_lowercase

In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.

user_pool.policies.password_policy.require_numbers

In the password policy that you have set, refers to whether you have required users to use at least one number in their password.

user_pool.policies.password_policy.require_symbols

In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.

user_pool.policies.password_policy.require_uppercase

In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.

user_pool.policies.password_policy.temporary_password_validity_days

The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password. Defaults to 7. If you submit a value of 0, Amazon Cognito treats it as a null value and sets TemporaryPasswordValidityDays to its default value.

When you set TemporaryPasswordValidityDays for a user pool, you can no longer set a value for the legacy UnusedAccountValidityDays parameter in that user pool.

user_pool.schema_attributes[]
Show child fields
user_pool.schema_attributes[].attribute_data_type

The data format of the values for your attribute. When you choose an AttributeDataType, Amazon Cognito validates the input against the data type. A custom attribute value in your user's ID token is always a string, for example "custom:isMember" : "true" or "custom:YearsAsMember" : "12".

user_pool.schema_attributes[].developer_only_attribute

You should use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using DeveloperOnlyAttribute.

Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users won't be able to modify this attribute using their access token. For example, DeveloperOnlyAttribute can be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.

user_pool.schema_attributes[].mutable

Specifies whether the value of the attribute can be changed.

Any user pool attribute whose value you map from an IdP attribute must be mutable, with a parameter value of true. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.

user_pool.schema_attributes[].name

The name of your user pool attribute. When you create or update a user pool, adding a schema attribute creates a custom or developer-only attribute. When you add an attribute with a Name value of MyAttribute, Amazon Cognito creates the custom attribute custom:MyAttribute. When DeveloperOnlyAttribute is true, Amazon Cognito creates your attribute as dev:MyAttribute. In an operation that describes a user pool, Amazon Cognito returns this value as value for standard attributes, custom:value for custom attributes, and dev:value for developer-only attributes..

user_pool.schema_attributes[].number_attribute_constraints

Specifies the constraints for an attribute of the number type.

Show child fields
user_pool.schema_attributes[].number_attribute_constraints.max_value

The maximum length of a number attribute value. Must be a number less than or equal to 2^1023, represented as a string with a length of 131072 characters or fewer.

user_pool.schema_attributes[].number_attribute_constraints.min_value

The minimum value of an attribute that is of the number data type.

user_pool.schema_attributes[].required

Specifies whether a user pool attribute is required. If the attribute is required and the user doesn't provide a value, registration or sign-in will fail.

user_pool.schema_attributes[].string_attribute_constraints

Specifies the constraints for an attribute of the string type.

Show child fields
user_pool.schema_attributes[].string_attribute_constraints.max_length

The maximum length of a string attribute value. Must be a number less than or equal to 2^1023, represented as a string with a length of 131072 characters or fewer.

user_pool.schema_attributes[].string_attribute_constraints.min_length

The minimum length.

user_pool.sms_authentication_message

The contents of the SMS authentication message.

user_pool.sms_configuration

The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role in your Amazon Web Services account.

Show child fields
user_pool.sms_configuration.external_id

The external ID provides additional security for your IAM role. You can use an ExternalId with the IAM role that you use with Amazon SNS to send SMS messages for your user pool. If you provide an ExternalId, your Amazon Cognito user pool includes it in the request to assume your IAM role. You can configure the role trust policy to require that Amazon Cognito, and any principal, provide the ExternalID. If you use the Amazon Cognito Management Console to create a role for SMS multi-factor authentication (MFA), Amazon Cognito creates a role with the required permissions and a trust policy that demonstrates use of the ExternalId.

For more information about the ExternalId of a role, see How to use an external ID when granting access to your Amazon Web Services resources to a third party

user_pool.sms_configuration.sns_caller_arn

The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your Amazon Web Services account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit.

user_pool.sms_configuration.sns_region

The Amazon Web Services Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a supported Legacy Amazon SNS alternate Region.

Amazon Cognito resources in the Asia Pacific (Seoul) Amazon Web Services Region must use your Amazon SNS configuration in the Asia Pacific (Tokyo) Region. For more information, see SMS message settings for Amazon Cognito user pools.

user_pool.sms_configuration_failure

The reason why the SMS configuration can't send the messages to your users.

This message might include comma-separated values to describe why your SMS configuration can't send messages to user pool end users.

InvalidSmsRoleAccessPolicyException

The Identity and Access Management role that Amazon Cognito uses to send SMS messages isn't properly configured. For more information, see SmsConfigurationType.

SNSSandbox

The Amazon Web Services account is in the SNS SMS Sandbox and messages will only reach verified end users. This parameter won’t get populated with SNSSandbox if the user creating the user pool doesn’t have SNS permissions. To learn how to move your Amazon Web Services account out of the sandbox, see Moving out of the SMS sandbox.

user_pool.sms_verification_message

This parameter is no longer used. See VerificationMessageTemplateType.

user_pool.status

This parameter is no longer used.

user_pool.user_attribute_update_settings

The settings for updates to user attributes. These settings include the property AttributesRequireVerificationBeforeUpdate, a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For more information, see Verifying updates to email addresses and phone numbers.

Show child fields
user_pool.user_attribute_update_settings.attributes_require_verification_before_update[]
user_pool.user_pool_add_ons

User pool add-ons. Contains settings for activation of advanced security features. To log user security information but take no action, set to AUDIT. To configure automatic security responses to risky traffic to your user pool, set to ENFORCED.

For more information, see Adding advanced security to a user pool.

Show child fields
user_pool.user_pool_add_ons.advanced_security_additional_flows

Advanced security configuration options for additional authentication types in your user pool, including custom authentication.

Show child fields
user_pool.user_pool_add_ons.advanced_security_additional_flows.custom_auth_mode

The operating mode of advanced security features in custom authentication with Custom authentication challenge Lambda triggers.

user_pool.user_pool_add_ons.advanced_security_mode

The operating mode of advanced security features for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.

user_pool.user_pool_tags

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.

user_pool.username_attributes[]
user_pool.username_configuration

Case sensitivity of the username input for the selected sign-in option. For example, when case sensitivity is set to False, users can sign in using either "username" or "Username". This configuration is immutable once it has been set. For more information, see UsernameConfigurationType.

Show child fields
user_pool.username_configuration.case_sensitive

Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon Cognito APIs. For most use cases, set case sensitivity to False (case insensitive) as a best practice. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name.

Valid values include:

True

Enables case sensitivity for all username input. When this option is set to True, users must sign in using the exact capitalization of their given username, such as “UserName”. This is the default value.

False

Enables case insensitivity for all username input. For example, when this option is set to False, users can sign in using username, USERNAME, or UserName. This option also enables both preferred_username and email alias to be case insensitive, in addition to the username attribute.

user_pool.verification_message_template

The template for verification messages.

Show child fields
user_pool.verification_message_template.default_email_option

The default email option.

user_pool.verification_message_template.email_message

The template for email messages that Amazon Cognito sends to your users. You can set an EmailMessage template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.

user_pool.verification_message_template.email_message_by_link

The email message template for sending a confirmation link to the user. You can set an EmailMessageByLink template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.

user_pool.verification_message_template.email_subject

The subject line for the email message template. You can set an EmailSubject template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.

user_pool.verification_message_template.email_subject_by_link

The subject line for the email message template for sending a confirmation link to the user. You can set an EmailSubjectByLink template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.

user_pool.verification_message_template.sms_message

The template for SMS messages that Amazon Cognito sends to your users.