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

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

Overview

A container for information about the 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.



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#admin_create_user_configTypes::AdminCreateUserConfigType

The configuration for ‘AdminCreateUser` requests.



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#alias_attributesArray<String>

The attributes that are aliased in a user pool.

Returns:

  • (Array<String>)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

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

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#auto_verified_attributesArray<String>

The attributes that are auto-verified in a user pool.

Returns:

  • (Array<String>)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#creation_dateTime

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.

Returns:

  • (Time)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

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

[1]: docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :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)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :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>


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#domainString

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

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :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.



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#email_configuration_failureString

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

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#email_verification_messageString

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#email_verification_subjectString

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#estimated_number_of_usersInteger

A number estimating the size of the user pool.

Returns:

  • (Integer)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the user pool.

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#lambda_configTypes::LambdaConfigType

The Lambda triggers associated with the user pool.



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_dateTime

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.

Returns:

  • (Time)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#mfa_configurationString

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.

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the user pool.

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#policiesTypes::UserPoolPolicyType

The policies associated with the user pool.



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#schema_attributesArray<Types::SchemaAttributeType>

A list of the user attributes and their properties in your user pool. The attribute schema contains standard attributes, custom attributes with a ‘custom:` prefix, and developer attributes with a `dev:` prefix. For more information, see [User pool attributes].

Developer-only attributes are a legacy feature of user pools, are read-only to all app clients. You can create and update developer-only attributes only with IAM-authenticated API operations. Use app client read/write permissions instead.

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

Returns:



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#sms_authentication_messageString

The contents of the SMS authentication message.

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :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.



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#sms_configuration_failureString

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

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

[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SmsConfigurationType.html [2]: docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox-moving-to-production.html

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#sms_verification_messageString

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

This parameter is no longer used.

Returns:

  • (String)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :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



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :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



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#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>)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :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>)


10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#username_configurationTypes::UsernameConfigurationType

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

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



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end

#verification_message_templateTypes::VerificationMessageTemplateType

The template for verification messages.



10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10826

class UserPoolType < Struct.new(
  :id,
  :name,
  :policies,
  :deletion_protection,
  :lambda_config,
  :status,
  :last_modified_date,
  :creation_date,
  :schema_attributes,
  :auto_verified_attributes,
  :alias_attributes,
  :username_attributes,
  :sms_verification_message,
  :email_verification_message,
  :email_verification_subject,
  :verification_message_template,
  :sms_authentication_message,
  :user_attribute_update_settings,
  :mfa_configuration,
  :device_configuration,
  :estimated_number_of_users,
  :email_configuration,
  :sms_configuration,
  :user_pool_tags,
  :sms_configuration_failure,
  :email_configuration_failure,
  :domain,
  :custom_domain,
  :admin_create_user_config,
  :user_pool_add_ons,
  :username_configuration,
  :arn,
  :account_recovery_setting)
  SENSITIVE = []
  include Aws::Structure
end