public static interface UserPoolType.Builder extends SdkPojo, CopyableBuilder<UserPoolType.Builder,UserPoolType>
| Modifier and Type | Method and Description |
|---|---|
UserPoolType.Builder |
accountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
The available verified method a user can use to recover their password when they call
ForgotPassword. |
default UserPoolType.Builder |
accountRecoverySetting(Consumer<AccountRecoverySettingType.Builder> accountRecoverySetting)
The available verified method a user can use to recover their password when they call
ForgotPassword. |
UserPoolType.Builder |
adminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for
AdminCreateUser requests. |
default UserPoolType.Builder |
adminCreateUserConfig(Consumer<AdminCreateUserConfigType.Builder> adminCreateUserConfig)
The configuration for
AdminCreateUser requests. |
UserPoolType.Builder |
aliasAttributes(AliasAttributeType... aliasAttributes)
The attributes that are aliased in a user pool.
|
UserPoolType.Builder |
aliasAttributes(Collection<AliasAttributeType> aliasAttributes)
The attributes that are aliased in a user pool.
|
UserPoolType.Builder |
aliasAttributesWithStrings(Collection<String> aliasAttributes)
The attributes that are aliased in a user pool.
|
UserPoolType.Builder |
aliasAttributesWithStrings(String... aliasAttributes)
The attributes that are aliased in a user pool.
|
UserPoolType.Builder |
arn(String arn)
The Amazon Resource Name (ARN) for the user pool.
|
UserPoolType.Builder |
autoVerifiedAttributes(Collection<VerifiedAttributeType> autoVerifiedAttributes)
The attributes that are auto-verified in a user pool.
|
UserPoolType.Builder |
autoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes that are auto-verified in a user pool.
|
UserPoolType.Builder |
autoVerifiedAttributesWithStrings(Collection<String> autoVerifiedAttributes)
The attributes that are auto-verified in a user pool.
|
UserPoolType.Builder |
autoVerifiedAttributesWithStrings(String... autoVerifiedAttributes)
The attributes that are auto-verified in a user pool.
|
UserPoolType.Builder |
creationDate(Instant creationDate)
The date the user pool was created.
|
UserPoolType.Builder |
customDomain(String customDomain)
A custom domain name that you provide to Amazon Cognito.
|
UserPoolType.Builder |
deletionProtection(DeletionProtectionType deletionProtection)
When active,
DeletionProtection prevents accidental deletion of your user pool. |
UserPoolType.Builder |
deletionProtection(String deletionProtection)
When active,
DeletionProtection prevents accidental deletion of your user pool. |
default UserPoolType.Builder |
deviceConfiguration(Consumer<DeviceConfigurationType.Builder> deviceConfiguration)
The device-remembering configuration for a user pool.
|
UserPoolType.Builder |
deviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device-remembering configuration for a user pool.
|
UserPoolType.Builder |
domain(String domain)
The domain prefix, if the user pool has a domain associated with it.
|
default UserPoolType.Builder |
emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration)
The email configuration of your user pool.
|
UserPoolType.Builder |
emailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration of your user pool.
|
UserPoolType.Builder |
emailConfigurationFailure(String emailConfigurationFailure)
Deprecated.
|
UserPoolType.Builder |
emailVerificationMessage(String emailVerificationMessage)
This parameter is no longer used.
|
UserPoolType.Builder |
emailVerificationSubject(String emailVerificationSubject)
This parameter is no longer used.
|
UserPoolType.Builder |
estimatedNumberOfUsers(Integer estimatedNumberOfUsers)
A number estimating the size of the user pool.
|
UserPoolType.Builder |
id(String id)
The ID of the user pool.
|
default UserPoolType.Builder |
lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig)
The Lambda triggers associated with the user pool.
|
UserPoolType.Builder |
lambdaConfig(LambdaConfigType lambdaConfig)
The Lambda triggers associated with the user pool.
|
UserPoolType.Builder |
lastModifiedDate(Instant lastModifiedDate)
The date the user pool was last modified.
|
UserPoolType.Builder |
mfaConfiguration(String mfaConfiguration)
Can be one of the following values:
|
UserPoolType.Builder |
mfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
|
UserPoolType.Builder |
name(String name)
The name of the user pool.
|
default UserPoolType.Builder |
policies(Consumer<UserPoolPolicyType.Builder> policies)
The policies associated with the user pool.
|
UserPoolType.Builder |
policies(UserPoolPolicyType policies)
The policies associated with the user pool.
|
UserPoolType.Builder |
schemaAttributes(Collection<SchemaAttributeType> schemaAttributes)
A container with the schema attributes of a user pool.
|
UserPoolType.Builder |
schemaAttributes(Consumer<SchemaAttributeType.Builder>... schemaAttributes)
A container with the schema attributes of a user pool.
|
UserPoolType.Builder |
schemaAttributes(SchemaAttributeType... schemaAttributes)
A container with the schema attributes of a user pool.
|
UserPoolType.Builder |
smsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
|
default UserPoolType.Builder |
smsConfiguration(Consumer<SmsConfigurationType.Builder> smsConfiguration)
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.
|
UserPoolType.Builder |
smsConfiguration(SmsConfigurationType smsConfiguration)
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.
|
UserPoolType.Builder |
smsConfigurationFailure(String smsConfigurationFailure)
The reason why the SMS configuration can't send the messages to your users.
|
UserPoolType.Builder |
smsVerificationMessage(String smsVerificationMessage)
This parameter is no longer used.
|
UserPoolType.Builder |
status(StatusType status)
The status of a user pool.
|
UserPoolType.Builder |
status(String status)
The status of a user pool.
|
default UserPoolType.Builder |
userAttributeUpdateSettings(Consumer<UserAttributeUpdateSettingsType.Builder> userAttributeUpdateSettings)
The settings for updates to user attributes.
|
UserPoolType.Builder |
userAttributeUpdateSettings(UserAttributeUpdateSettingsType userAttributeUpdateSettings)
The settings for updates to user attributes.
|
UserPoolType.Builder |
usernameAttributes(Collection<UsernameAttributeType> usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
|
UserPoolType.Builder |
usernameAttributes(UsernameAttributeType... usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
|
UserPoolType.Builder |
usernameAttributesWithStrings(Collection<String> usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
|
UserPoolType.Builder |
usernameAttributesWithStrings(String... usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
|
default UserPoolType.Builder |
usernameConfiguration(Consumer<UsernameConfigurationType.Builder> usernameConfiguration)
Case sensitivity of the username input for the selected sign-in option.
|
UserPoolType.Builder |
usernameConfiguration(UsernameConfigurationType usernameConfiguration)
Case sensitivity of the username input for the selected sign-in option.
|
default UserPoolType.Builder |
userPoolAddOns(Consumer<UserPoolAddOnsType.Builder> userPoolAddOns)
The user pool add-ons.
|
UserPoolType.Builder |
userPoolAddOns(UserPoolAddOnsType userPoolAddOns)
The user pool add-ons.
|
UserPoolType.Builder |
userPoolTags(Map<String,String> userPoolTags)
The tags that are assigned to the user pool.
|
default UserPoolType.Builder |
verificationMessageTemplate(Consumer<VerificationMessageTemplateType.Builder> verificationMessageTemplate)
The template for verification messages.
|
UserPoolType.Builder |
verificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUserPoolType.Builder id(String id)
The ID of the user pool.
id - The ID of the user pool.UserPoolType.Builder name(String name)
The name of the user pool.
name - The name of the user pool.UserPoolType.Builder policies(UserPoolPolicyType policies)
The policies associated with the user pool.
policies - The policies associated with the user pool.default UserPoolType.Builder policies(Consumer<UserPoolPolicyType.Builder> policies)
The policies associated with the user pool.
This is a convenience method that creates an instance of theUserPoolPolicyType.Builder avoiding the
need to create one manually via UserPoolPolicyType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to policies(UserPoolPolicyType).
policies - a consumer that will call methods on UserPoolPolicyType.Builderpolicies(UserPoolPolicyType)UserPoolType.Builder deletionProtection(String deletionProtection)
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.
deletionProtection - 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.
DeletionProtectionType,
DeletionProtectionTypeUserPoolType.Builder deletionProtection(DeletionProtectionType deletionProtection)
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.
deletionProtection - 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.
DeletionProtectionType,
DeletionProtectionTypeUserPoolType.Builder lambdaConfig(LambdaConfigType lambdaConfig)
The Lambda triggers associated with the user pool.
lambdaConfig - The Lambda triggers associated with the user pool.default UserPoolType.Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig)
The Lambda triggers associated with the user pool.
This is a convenience method that creates an instance of theLambdaConfigType.Builder avoiding the
need to create one manually via LambdaConfigType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to lambdaConfig(LambdaConfigType).
lambdaConfig - a consumer that will call methods on LambdaConfigType.BuilderlambdaConfig(LambdaConfigType)UserPoolType.Builder status(String status)
The status of a user pool.
status - The status of a user pool.StatusType,
StatusTypeUserPoolType.Builder status(StatusType status)
The status of a user pool.
status - The status of a user pool.StatusType,
StatusTypeUserPoolType.Builder lastModifiedDate(Instant lastModifiedDate)
The date the user pool was last modified.
lastModifiedDate - The date the user pool was last modified.UserPoolType.Builder creationDate(Instant creationDate)
The date the user pool was created.
creationDate - The date the user pool was created.UserPoolType.Builder schemaAttributes(Collection<SchemaAttributeType> schemaAttributes)
A container with the schema attributes of a user pool.
schemaAttributes - A container with the schema attributes of a user pool.UserPoolType.Builder schemaAttributes(SchemaAttributeType... schemaAttributes)
A container with the schema attributes of a user pool.
schemaAttributes - A container with the schema attributes of a user pool.UserPoolType.Builder schemaAttributes(Consumer<SchemaAttributeType.Builder>... schemaAttributes)
A container with the schema attributes of a user pool.
This is a convenience method that creates an instance of theSchemaAttributeType.Builder avoiding
the need to create one manually via
SchemaAttributeType.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #schemaAttributes(List.
schemaAttributes - a consumer that will call methods on
SchemaAttributeType.Builder#schemaAttributes(java.util.Collection) UserPoolType.Builder autoVerifiedAttributesWithStrings(Collection<String> autoVerifiedAttributes)
The attributes that are auto-verified in a user pool.
autoVerifiedAttributes - The attributes that are auto-verified in a user pool.UserPoolType.Builder autoVerifiedAttributesWithStrings(String... autoVerifiedAttributes)
The attributes that are auto-verified in a user pool.
autoVerifiedAttributes - The attributes that are auto-verified in a user pool.UserPoolType.Builder autoVerifiedAttributes(Collection<VerifiedAttributeType> autoVerifiedAttributes)
The attributes that are auto-verified in a user pool.
autoVerifiedAttributes - The attributes that are auto-verified in a user pool.UserPoolType.Builder autoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes that are auto-verified in a user pool.
autoVerifiedAttributes - The attributes that are auto-verified in a user pool.UserPoolType.Builder aliasAttributesWithStrings(Collection<String> aliasAttributes)
The attributes that are aliased in a user pool.
aliasAttributes - The attributes that are aliased in a user pool.UserPoolType.Builder aliasAttributesWithStrings(String... aliasAttributes)
The attributes that are aliased in a user pool.
aliasAttributes - The attributes that are aliased in a user pool.UserPoolType.Builder aliasAttributes(Collection<AliasAttributeType> aliasAttributes)
The attributes that are aliased in a user pool.
aliasAttributes - The attributes that are aliased in a user pool.UserPoolType.Builder aliasAttributes(AliasAttributeType... aliasAttributes)
The attributes that are aliased in a user pool.
aliasAttributes - The attributes that are aliased in a user pool.UserPoolType.Builder usernameAttributesWithStrings(Collection<String> usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
usernameAttributes - Specifies whether a user can use an email address or phone number as a username when they sign up.UserPoolType.Builder usernameAttributesWithStrings(String... usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
usernameAttributes - Specifies whether a user can use an email address or phone number as a username when they sign up.UserPoolType.Builder usernameAttributes(Collection<UsernameAttributeType> usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
usernameAttributes - Specifies whether a user can use an email address or phone number as a username when they sign up.UserPoolType.Builder usernameAttributes(UsernameAttributeType... usernameAttributes)
Specifies whether a user can use an email address or phone number as a username when they sign up.
usernameAttributes - Specifies whether a user can use an email address or phone number as a username when they sign up.UserPoolType.Builder smsVerificationMessage(String smsVerificationMessage)
This parameter is no longer used. See VerificationMessageTemplateType.
smsVerificationMessage - This parameter is no longer used. See VerificationMessageTemplateType.UserPoolType.Builder emailVerificationMessage(String emailVerificationMessage)
This parameter is no longer used. See VerificationMessageTemplateType.
emailVerificationMessage - This parameter is no longer used. See VerificationMessageTemplateType.UserPoolType.Builder emailVerificationSubject(String emailVerificationSubject)
This parameter is no longer used. See VerificationMessageTemplateType.
emailVerificationSubject - This parameter is no longer used. See VerificationMessageTemplateType.UserPoolType.Builder verificationMessageTemplate(VerificationMessageTemplateType verificationMessageTemplate)
The template for verification messages.
verificationMessageTemplate - The template for verification messages.default UserPoolType.Builder verificationMessageTemplate(Consumer<VerificationMessageTemplateType.Builder> verificationMessageTemplate)
The template for verification messages.
This is a convenience method that creates an instance of theVerificationMessageTemplateType.Builder
avoiding the need to create one manually via VerificationMessageTemplateType.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to verificationMessageTemplate(VerificationMessageTemplateType).
verificationMessageTemplate - a consumer that will call methods on VerificationMessageTemplateType.BuilderverificationMessageTemplate(VerificationMessageTemplateType)UserPoolType.Builder smsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
smsAuthenticationMessage - The contents of the SMS authentication message.UserPoolType.Builder userAttributeUpdateSettings(UserAttributeUpdateSettingsType userAttributeUpdateSettings)
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.
userAttributeUpdateSettings - 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.default UserPoolType.Builder userAttributeUpdateSettings(Consumer<UserAttributeUpdateSettingsType.Builder> userAttributeUpdateSettings)
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.
UserAttributeUpdateSettingsType.Builder
avoiding the need to create one manually via UserAttributeUpdateSettingsType.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to userAttributeUpdateSettings(UserAttributeUpdateSettingsType).
userAttributeUpdateSettings - a consumer that will call methods on UserAttributeUpdateSettingsType.BuilderuserAttributeUpdateSettings(UserAttributeUpdateSettingsType)UserPoolType.Builder mfaConfiguration(String mfaConfiguration)
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.
mfaConfiguration - 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.
UserPoolMfaType,
UserPoolMfaTypeUserPoolType.Builder mfaConfiguration(UserPoolMfaType mfaConfiguration)
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.
mfaConfiguration - 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.
UserPoolMfaType,
UserPoolMfaTypeUserPoolType.Builder deviceConfiguration(DeviceConfigurationType deviceConfiguration)
The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
When you provide a value for any DeviceConfiguration field, you activate the Amazon Cognito
device-remembering feature.
deviceConfiguration - The device-remembering configuration for a user pool. A null value indicates that you have deactivated
device remembering in your user pool.
When you provide a value for any DeviceConfiguration field, you activate the Amazon
Cognito device-remembering feature.
default UserPoolType.Builder deviceConfiguration(Consumer<DeviceConfigurationType.Builder> deviceConfiguration)
The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
When you provide a value for any DeviceConfiguration field, you activate the Amazon Cognito
device-remembering feature.
DeviceConfigurationType.Builder
avoiding the need to create one manually via DeviceConfigurationType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to deviceConfiguration(DeviceConfigurationType).
deviceConfiguration - a consumer that will call methods on DeviceConfigurationType.BuilderdeviceConfiguration(DeviceConfigurationType)UserPoolType.Builder estimatedNumberOfUsers(Integer estimatedNumberOfUsers)
A number estimating the size of the user pool.
estimatedNumberOfUsers - A number estimating the size of the user pool.UserPoolType.Builder emailConfiguration(EmailConfigurationType emailConfiguration)
The email configuration of your user pool. The email configuration type sets your preferred sending method, Amazon Web Services Region, and sender for messages tfrom your user pool.
emailConfiguration - The email configuration of your user pool. The email configuration type sets your preferred sending
method, Amazon Web Services Region, and sender for messages tfrom your user pool.default UserPoolType.Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration)
The email configuration of your user pool. The email configuration type sets your preferred sending method, Amazon Web Services Region, and sender for messages tfrom your user pool.
This is a convenience method that creates an instance of theEmailConfigurationType.Builder avoiding
the need to create one manually via EmailConfigurationType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to emailConfiguration(EmailConfigurationType).
emailConfiguration - a consumer that will call methods on EmailConfigurationType.BuilderemailConfiguration(EmailConfigurationType)UserPoolType.Builder smsConfiguration(SmsConfigurationType smsConfiguration)
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.
smsConfiguration - 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.default UserPoolType.Builder smsConfiguration(Consumer<SmsConfigurationType.Builder> smsConfiguration)
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.
This is a convenience method that creates an instance of theSmsConfigurationType.Builder avoiding
the need to create one manually via SmsConfigurationType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to smsConfiguration(SmsConfigurationType).
smsConfiguration - a consumer that will call methods on SmsConfigurationType.BuildersmsConfiguration(SmsConfigurationType)UserPoolType.Builder userPoolTags(Map<String,String> userPoolTags)
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.
userPoolTags - 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.UserPoolType.Builder smsConfigurationFailure(String smsConfigurationFailure)
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.
The Identity and Access Management role that Amazon Cognito uses to send SMS messages isn't properly configured. For more information, see SmsConfigurationType.
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 IAM 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.
smsConfigurationFailure - 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.
The Identity and Access Management role that Amazon Cognito uses to send SMS messages isn't properly configured. For more information, see SmsConfigurationType.
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 IAM 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.
UserPoolType.Builder emailConfigurationFailure(String emailConfigurationFailure)
Deprecated. Review error codes from API requests with EventSource:cognito-idp.amazonaws.com in
CloudTrail for information about problems with user pool email configuration.
emailConfigurationFailure - Deprecated. Review error codes from API requests with
EventSource:cognito-idp.amazonaws.com in CloudTrail for information about problems with
user pool email configuration.UserPoolType.Builder domain(String domain)
The domain prefix, if the user pool has a domain associated with it.
domain - The domain prefix, if the user pool has a domain associated with it.UserPoolType.Builder customDomain(String customDomain)
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.
customDomain - 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.
UserPoolType.Builder adminCreateUserConfig(AdminCreateUserConfigType adminCreateUserConfig)
The configuration for AdminCreateUser requests.
adminCreateUserConfig - The configuration for AdminCreateUser requests.default UserPoolType.Builder adminCreateUserConfig(Consumer<AdminCreateUserConfigType.Builder> adminCreateUserConfig)
The configuration for AdminCreateUser requests.
AdminCreateUserConfigType.Builder
avoiding the need to create one manually via AdminCreateUserConfigType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to adminCreateUserConfig(AdminCreateUserConfigType).
adminCreateUserConfig - a consumer that will call methods on AdminCreateUserConfigType.BuilderadminCreateUserConfig(AdminCreateUserConfigType)UserPoolType.Builder userPoolAddOns(UserPoolAddOnsType userPoolAddOns)
The user pool add-ons.
userPoolAddOns - The user pool add-ons.default UserPoolType.Builder userPoolAddOns(Consumer<UserPoolAddOnsType.Builder> userPoolAddOns)
The user pool add-ons.
This is a convenience method that creates an instance of theUserPoolAddOnsType.Builder avoiding the
need to create one manually via UserPoolAddOnsType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to userPoolAddOns(UserPoolAddOnsType).
userPoolAddOns - a consumer that will call methods on UserPoolAddOnsType.BuilderuserPoolAddOns(UserPoolAddOnsType)UserPoolType.Builder usernameConfiguration(UsernameConfigurationType usernameConfiguration)
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.
usernameConfiguration - 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.default UserPoolType.Builder usernameConfiguration(Consumer<UsernameConfigurationType.Builder> usernameConfiguration)
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.
UsernameConfigurationType.Builder
avoiding the need to create one manually via UsernameConfigurationType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to usernameConfiguration(UsernameConfigurationType).
usernameConfiguration - a consumer that will call methods on UsernameConfigurationType.BuilderusernameConfiguration(UsernameConfigurationType)UserPoolType.Builder arn(String arn)
The Amazon Resource Name (ARN) for the user pool.
arn - The Amazon Resource Name (ARN) for the user pool.UserPoolType.Builder accountRecoverySetting(AccountRecoverySettingType accountRecoverySetting)
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.
accountRecoverySetting - 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.default UserPoolType.Builder accountRecoverySetting(Consumer<AccountRecoverySettingType.Builder> accountRecoverySetting)
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.
AccountRecoverySettingType.Builder
avoiding the need to create one manually via AccountRecoverySettingType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to accountRecoverySetting(AccountRecoverySettingType).
accountRecoverySetting - a consumer that will call methods on AccountRecoverySettingType.BuilderaccountRecoverySetting(AccountRecoverySettingType)Copyright © 2022. All rights reserved.