Class: Aws::CognitoIdentityProvider::Types::CreateUserPoolRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Represents the request to create a user pool.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_recovery_settingTypes::AccountRecoverySettingType

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.



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#admin_create_user_configTypes::AdminCreateUserConfigType

The configuration for ‘AdminCreateUser` requests.



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#alias_attributesArray<String>

Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.

Returns:

  • (Array<String>)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#auto_verified_attributesArray<String>

The attributes to be auto-verified. Possible values: email, phone_number.

Returns:

  • (Array<String>)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#deletion_protectionString

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.

Returns:

  • (String)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#device_configurationTypes::DeviceConfigurationType

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

<note markdown=“1”> When you provide a value for any ‘DeviceConfiguration` field, you activate the Amazon Cognito device-remembering feature.

</note>


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#email_configurationTypes::EmailConfigurationType

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.



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#email_verification_messageString

Returns:

  • (String)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#email_verification_subjectString

Returns:

  • (String)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#lambda_configTypes::LambdaConfigType

The Lambda trigger configuration information for the new user pool.

<note markdown=“1”> In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.

For more information on using the Lambda API to add permission, see[

AddPermission ][1].

For adding permission using the CLI, see[ add-permission ][2].

</note>

[1]: docs.aws.amazon.com/lambda/latest/dg/API_AddPermission.html [2]: docs.aws.amazon.com/cli/latest/reference/lambda/add-permission.html



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#mfa_configurationString

Specifies MFA configuration details.

Returns:

  • (String)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#policiesTypes::UserPoolPolicyType

The policies associated with the new user pool.



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#pool_nameString

A string used to name the user pool.

Returns:

  • (String)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#schemaArray<Types::SchemaAttributeType>

An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.

Returns:



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#sms_authentication_messageString

A string representing the SMS authentication message.

Returns:

  • (String)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#sms_configurationTypes::SmsConfigurationType

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.



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#sms_verification_messageString

Returns:

  • (String)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#user_attribute_update_settingsTypes::UserAttributeUpdateSettingsType

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].

[1]: docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#user_pool_add_onsTypes::UserPoolAddOnsType

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].

[1]: docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#user_pool_tagsHash<String,String>

The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.

Returns:

  • (Hash<String,String>)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#username_attributesArray<String>

Specifies whether a user can use an email address or phone number as a username when they sign up.

Returns:

  • (Array<String>)


3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#username_configurationTypes::UsernameConfigurationType

Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to ‘False` (case insensitive), users can sign in with any combination of capital and lowercase letters. For example, `username`, `USERNAME`, or `UserName`, or for email, `[email protected]` or `[email protected]`. For most use cases, set case sensitivity to `False` (case insensitive) as a best practice. When usernames and email addresses are case insensitive, Amazon Cognito treats any variation in case as the same user, and prevents a case variation from being assigned to the same attribute for a different user.

This configuration is immutable after you set it. For more information, see [UsernameConfigurationType].

[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UsernameConfigurationType.html



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#verification_message_templateTypes::VerificationMessageTemplateType

The template for the verification message that the user sees when the app requests permission to access the user’s information.



3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3718

class CreateUserPoolRequest < Struct.new(
  :pool_name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :mfa_configuration,
  :user_attribute_update_settings,
  :device_configuration,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :admin_create_user_config,
  :schema,
  :user_pool_add_ons,
  :username_configuration,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end