Class: Aws::CognitoIdentityProvider::Types::CreateUserPoolRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::CreateUserPoolRequest
- 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
-
#account_recovery_setting ⇒ Types::AccountRecoverySettingType
The available verified method a user can use to recover their password when they call ‘ForgotPassword`.
-
#admin_create_user_config ⇒ Types::AdminCreateUserConfigType
The configuration for [AdminCreateUser] requests.
-
#alias_attributes ⇒ Array<String>
Attributes supported as an alias for this user pool.
-
#auto_verified_attributes ⇒ Array<String>
The attributes that you want your user pool to automatically verify.
-
#deletion_protection ⇒ String
When active, ‘DeletionProtection` prevents accidental deletion of your user pool.
-
#device_configuration ⇒ Types::DeviceConfigurationType
The device-remembering configuration for a user pool.
-
#email_configuration ⇒ Types::EmailConfigurationType
The email configuration of your user pool.
-
#email_verification_message ⇒ String
This parameter is no longer used.
-
#email_verification_subject ⇒ String
This parameter is no longer used.
-
#lambda_config ⇒ Types::LambdaConfigType
A collection of user pool Lambda triggers.
-
#mfa_configuration ⇒ String
Sets multi-factor authentication (MFA) to be on, off, or optional.
-
#policies ⇒ Types::UserPoolPolicyType
The password policy and sign-in policy in the user pool.
-
#pool_name ⇒ String
A friendlhy name for your user pool.
-
#schema ⇒ Array<Types::SchemaAttributeType>
An array of attributes for the new user pool.
-
#sms_authentication_message ⇒ String
A string representing the SMS authentication message.
-
#sms_configuration ⇒ Types::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.
-
#sms_verification_message ⇒ String
This parameter is no longer used.
-
#user_attribute_update_settings ⇒ Types::UserAttributeUpdateSettingsType
The settings for updates to user attributes.
-
#user_pool_add_ons ⇒ Types::UserPoolAddOnsType
User pool add-ons.
-
#user_pool_tags ⇒ Hash<String,String>
The tag keys and values to assign to the user pool.
-
#user_pool_tier ⇒ String
The user pool [feature plan], or tier.
-
#username_attributes ⇒ Array<String>
Specifies whether a user can use an email address or phone number as a username when they sign up.
-
#username_configuration ⇒ Types::UsernameConfigurationType
Sets the case sensitivity option for sign-in usernames.
-
#verification_message_template ⇒ Types::VerificationMessageTemplateType
The template for the verification message that your user pool delivers to users who set an email address or phone number attribute.
Instance Attribute Details
#account_recovery_setting ⇒ Types::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.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#admin_create_user_config ⇒ Types::AdminCreateUserConfigType
The configuration for [AdminCreateUser] requests. Includes the template for the invitation message for new users, the duration of temporary passwords, and permitting self-service sign-up.
[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminCreateUser.html
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#alias_attributes ⇒ Array<String>
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username. For more information about alias attributes, see [Customizing sign-in attributes].
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#auto_verified_attributes ⇒ Array<String>
The attributes that you want your user pool to automatically verify. Possible values: email, phone_number. For more information see [Verifying contact information at sign-up].
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#deletion_protection ⇒ String
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.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#device_configuration ⇒ Types::DeviceConfigurationType
The device-remembering configuration for a user pool. Device remembering or device tracking is a “Remember me on this device” option for user pools that perform authentication with the device key of a trusted device in the back end, instead of a user-provided MFA code. For more information about device authentication, see [Working with user devices in your 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. For more infor
</note>
[1]: docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#email_configuration ⇒ Types::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.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#email_verification_message ⇒ String
This parameter is no longer used. See [VerificationMessageTemplateType].
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#email_verification_subject ⇒ String
This parameter is no longer used. See [VerificationMessageTemplateType].
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#lambda_config ⇒ Types::LambdaConfigType
A collection of user pool Lambda triggers. Amazon Cognito invokes triggers at several possible stages of authentication operations. Triggers can modify the outcome of the operations that invoked them.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#mfa_configuration ⇒ String
Sets multi-factor authentication (MFA) to be on, off, or optional. When ‘ON`, all users must set up MFA before they can sign in. When `OPTIONAL`, your application must make a client-side determination of whether a user wants to register an MFA device. For user pools with adaptive authentication with threat protection, choose `OPTIONAL`.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#policies ⇒ Types::UserPoolPolicyType
The password policy and sign-in policy in the user pool. The password policy sets options like password complexity requirements and password history. The sign-in policy sets the options available to applications in [choice-based authentication].
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#pool_name ⇒ String
A friendlhy name for your user pool.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#schema ⇒ Array<Types::SchemaAttributeType>
An array of attributes for the new user pool. You can add custom attributes and modify the properties of default attributes. The specifications in this parameter set the required attributes in your user pool. For more information, see [Working with user attributes].
[1]: docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#sms_authentication_message ⇒ String
A string representing the SMS authentication message.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#sms_configuration ⇒ Types::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. For more information see [SMS message settings].
[1]: docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#sms_verification_message ⇒ String
This parameter is no longer used. See [VerificationMessageTemplateType].
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#user_attribute_update_settings ⇒ Types::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].
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#user_pool_add_ons ⇒ Types::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
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#user_pool_tags ⇒ Hash<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.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#user_pool_tier ⇒ String
The user pool [feature plan], or tier. This parameter determines the eligibility of the user pool for features like managed login, access-token customization, and threat protection. Defaults to ‘ESSENTIALS`.
[1]: docs.aws.amazon.com/cognito/latest/developerguide/cognito-sign-in-feature-plans.html
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#username_attributes ⇒ Array<String>
Specifies whether a user can use an email address or phone number as a username when they sign up. For more information, see [Customizing sign-in attributes].
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#username_configuration ⇒ Types::UsernameConfigurationType
Sets the case sensitivity option for sign-in usernames. When ‘CaseSensitive` is `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` 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.
When ‘CaseSensitive` is `true` (case sensitive), Amazon Cognito interprets `USERNAME` and `UserName` as distinct users.
This configuration is immutable after you set it.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |
#verification_message_template ⇒ Types::VerificationMessageTemplateType
The template for the verification message that your user pool delivers to users who set an email address or phone number attribute.
Set the email message type that corresponds to your ‘DefaultEmailOption` selection. For `CONFIRM_WITH_LINK`, specify an `EmailMessageByLink` and leave `EmailMessage` blank. For `CONFIRM_WITH_CODE`, specify an `EmailMessage` and leave `EmailMessageByLink` blank. When you supply both parameters with either choice, Amazon Cognito returns an error.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 4678 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, :user_pool_tier) SENSITIVE = [] include Aws::Structure end |