AWS Native is in preview. AWS Classic is fully supported.
aws-native.cognito.UserPool
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::Cognito::UserPool
Create UserPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UserPool(name: string, args?: UserPoolArgs, opts?: CustomResourceOptions);
@overload
def UserPool(resource_name: str,
args: Optional[UserPoolArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def UserPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_recovery_setting: Optional[UserPoolAccountRecoverySettingArgs] = None,
admin_create_user_config: Optional[UserPoolAdminCreateUserConfigArgs] = None,
alias_attributes: Optional[Sequence[str]] = None,
auto_verified_attributes: Optional[Sequence[str]] = None,
deletion_protection: Optional[str] = None,
device_configuration: Optional[UserPoolDeviceConfigurationArgs] = None,
email_configuration: Optional[UserPoolEmailConfigurationArgs] = None,
email_verification_message: Optional[str] = None,
email_verification_subject: Optional[str] = None,
enabled_mfas: Optional[Sequence[str]] = None,
lambda_config: Optional[UserPoolLambdaConfigArgs] = None,
mfa_configuration: Optional[str] = None,
policies: Optional[UserPoolPoliciesArgs] = None,
schema: Optional[Sequence[UserPoolSchemaAttributeArgs]] = None,
sms_authentication_message: Optional[str] = None,
sms_configuration: Optional[UserPoolSmsConfigurationArgs] = None,
sms_verification_message: Optional[str] = None,
user_attribute_update_settings: Optional[UserPoolUserAttributeUpdateSettingsArgs] = None,
user_pool_add_ons: Optional[UserPoolAddOnsArgs] = None,
user_pool_name: Optional[str] = None,
user_pool_tags: Optional[Mapping[str, str]] = None,
username_attributes: Optional[Sequence[str]] = None,
username_configuration: Optional[UserPoolUsernameConfigurationArgs] = None,
verification_message_template: Optional[UserPoolVerificationMessageTemplateArgs] = None)
func NewUserPool(ctx *Context, name string, args *UserPoolArgs, opts ...ResourceOption) (*UserPool, error)
public UserPool(string name, UserPoolArgs? args = null, CustomResourceOptions? opts = null)
public UserPool(String name, UserPoolArgs args)
public UserPool(String name, UserPoolArgs args, CustomResourceOptions options)
type: aws-native:cognito:UserPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UserPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UserPoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UserPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserPoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
UserPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The UserPool resource accepts the following input properties:
- Account
Recovery Pulumi.Setting Aws Native. Cognito. Inputs. User Pool Account Recovery Setting - Use this setting to define which verified available method a user can use to recover their password when they call
ForgotPassword
. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email. - Admin
Create Pulumi.User Config Aws Native. Cognito. Inputs. User Pool Admin Create User Config - The configuration for creating a new user profile.
- Alias
Attributes List<string> Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
This user pool property cannot be updated.
- Auto
Verified List<string>Attributes - The attributes to be auto-verified. Possible values: email , phone_number .
- 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 anInvalidParameterException
error. To delete a protected user pool, send a newDeleteUserPool
request after you deactivate deletion protection in anUpdateUserPool
API request.- Device
Configuration Pulumi.Aws Native. Cognito. Inputs. User Pool Device Configuration The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
When you provide a value for any
DeviceConfiguration
field, you activate the Amazon Cognito device-remembering feature.- Email
Configuration Pulumi.Aws Native. Cognito. Inputs. User Pool Email Configuration - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
- Email
Verification stringMessage - This parameter is no longer used. See VerificationMessageTemplateType .
- Email
Verification stringSubject - This parameter is no longer used. See VerificationMessageTemplateType .
- Enabled
Mfas List<string> Enables MFA on a specified user pool. To disable all MFAs after it has been enabled, set MfaConfiguration to "OFF" and remove EnabledMfas. MFAs can only be all disabled if MfaConfiguration is OFF. Once SMS_MFA is enabled, SMS_MFA can only be disabled by setting MfaConfiguration to "OFF". Can be one of the following values:
SMS_MFA
- Enables SMS MFA for the user pool. SMS_MFA can only be enabled if SMS configuration is provided.SOFTWARE_TOKEN_MFA
- Enables software token MFA for the user pool.
Allowed values:
SMS_MFA
|SOFTWARE_TOKEN_MFA
- Lambda
Config Pulumi.Aws Native. Cognito. Inputs. User Pool Lambda Config The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the AWS CLI , see add-permission .
- Mfa
Configuration string - The multi-factor authentication (MFA) configuration. Valid values include:
OFF
MFA won't be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
- Policies
Pulumi.
Aws Native. Cognito. Inputs. User Pool Policies - The policy associated with a user pool.
- Schema
List<Pulumi.
Aws Native. Cognito. Inputs. User Pool Schema Attribute> The schema attributes for the new user pool. These attributes can be standard or custom attributes.
During a user pool update, you can add new schema attributes but you cannot modify or delete an existing schema attribute.
- Sms
Authentication stringMessage - A string representing the SMS authentication message.
- Sms
Configuration Pulumi.Aws Native. Cognito. Inputs. User Pool Sms Configuration - The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your AWS account through Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the AWS Region that you want, the Amazon Cognito user pool uses an AWS Identity and Access Management (IAM) role in your AWS account .
- Sms
Verification stringMessage - This parameter is no longer used. See VerificationMessageTemplateType .
- User
Attribute Pulumi.Update Settings Aws Native. Cognito. Inputs. User Pool User Attribute Update Settings - The settings for updates to user attributes. These settings include the property
AttributesRequireVerificationBeforeUpdate
, a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For more information, see Verifying updates to email addresses and phone numbers . - User
Pool Pulumi.Add Ons Aws Native. Cognito. Inputs. User Pool Add Ons User pool add-ons. Contains settings for activation of advanced security features. To log user security information but take no action, set to
AUDIT
. To configure automatic security responses to risky traffic to your user pool, set toENFORCED
.For more information, see Adding advanced security to a user pool .
- User
Pool stringName - A string used to name the user pool.
- Dictionary<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.
- Username
Attributes List<string> Determines whether email addresses or phone numbers can be specified as user names when a user signs up. Possible values:
phone_number
oremail
.This user pool property cannot be updated.
- Username
Configuration Pulumi.Aws Native. Cognito. Inputs. User Pool Username Configuration - You can choose to set case sensitivity on the username input for the selected sign-in option. For example, when this is set to
False
, users will be able to sign in using either "username" or "Username". This configuration is immutable once it has been set. - Verification
Message Pulumi.Template Aws Native. Cognito. Inputs. User Pool Verification Message Template - The template for the verification message that the user sees when the app requests permission to access the user's information.
- Account
Recovery UserSetting Pool Account Recovery Setting Args - Use this setting to define which verified available method a user can use to recover their password when they call
ForgotPassword
. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email. - Admin
Create UserUser Config Pool Admin Create User Config Args - The configuration for creating a new user profile.
- Alias
Attributes []string Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
This user pool property cannot be updated.
- Auto
Verified []stringAttributes - The attributes to be auto-verified. Possible values: email , phone_number .
- 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 anInvalidParameterException
error. To delete a protected user pool, send a newDeleteUserPool
request after you deactivate deletion protection in anUpdateUserPool
API request.- Device
Configuration UserPool Device Configuration Args 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.- Email
Configuration UserPool Email Configuration Args - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
- Email
Verification stringMessage - This parameter is no longer used. See VerificationMessageTemplateType .
- Email
Verification stringSubject - This parameter is no longer used. See VerificationMessageTemplateType .
- Enabled
Mfas []string Enables MFA on a specified user pool. To disable all MFAs after it has been enabled, set MfaConfiguration to "OFF" and remove EnabledMfas. MFAs can only be all disabled if MfaConfiguration is OFF. Once SMS_MFA is enabled, SMS_MFA can only be disabled by setting MfaConfiguration to "OFF". Can be one of the following values:
SMS_MFA
- Enables SMS MFA for the user pool. SMS_MFA can only be enabled if SMS configuration is provided.SOFTWARE_TOKEN_MFA
- Enables software token MFA for the user pool.
Allowed values:
SMS_MFA
|SOFTWARE_TOKEN_MFA
- Lambda
Config UserPool Lambda Config Args The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the AWS CLI , see add-permission .
- Mfa
Configuration string - The multi-factor authentication (MFA) configuration. Valid values include:
OFF
MFA won't be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
- Policies
User
Pool Policies Args - The policy associated with a user pool.
- Schema
[]User
Pool Schema Attribute Args The schema attributes for the new user pool. These attributes can be standard or custom attributes.
During a user pool update, you can add new schema attributes but you cannot modify or delete an existing schema attribute.
- Sms
Authentication stringMessage - A string representing the SMS authentication message.
- Sms
Configuration UserPool Sms Configuration Args - The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your AWS account through Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the AWS Region that you want, the Amazon Cognito user pool uses an AWS Identity and Access Management (IAM) role in your AWS account .
- Sms
Verification stringMessage - This parameter is no longer used. See VerificationMessageTemplateType .
- User
Attribute UserUpdate Settings Pool User Attribute Update Settings Args - 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 . - User
Pool UserAdd Ons Pool Add Ons Args 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 toENFORCED
.For more information, see Adding advanced security to a user pool .
- User
Pool stringName - A string used to name the user pool.
- map[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.
- Username
Attributes []string Determines whether email addresses or phone numbers can be specified as user names when a user signs up. Possible values:
phone_number
oremail
.This user pool property cannot be updated.
- Username
Configuration UserPool Username Configuration Args - You can choose to set case sensitivity on the username input for the selected sign-in option. For example, when this is set to
False
, users will be able to sign in using either "username" or "Username". This configuration is immutable once it has been set. - Verification
Message UserTemplate Pool Verification Message Template Args - The template for the verification message that the user sees when the app requests permission to access the user's information.
- account
Recovery UserSetting Pool Account Recovery Setting - Use this setting to define which verified available method a user can use to recover their password when they call
ForgotPassword
. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email. - admin
Create UserUser Config Pool Admin Create User Config - The configuration for creating a new user profile.
- alias
Attributes List<String> Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
This user pool property cannot be updated.
- auto
Verified List<String>Attributes - The attributes to be auto-verified. Possible values: email , phone_number .
- 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 anInvalidParameterException
error. To delete a protected user pool, send a newDeleteUserPool
request after you deactivate deletion protection in anUpdateUserPool
API request.- device
Configuration UserPool Device Configuration The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
When you provide a value for any
DeviceConfiguration
field, you activate the Amazon Cognito device-remembering feature.- email
Configuration UserPool Email Configuration - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
- email
Verification StringMessage - This parameter is no longer used. See VerificationMessageTemplateType .
- email
Verification StringSubject - This parameter is no longer used. See VerificationMessageTemplateType .
- enabled
Mfas List<String> Enables MFA on a specified user pool. To disable all MFAs after it has been enabled, set MfaConfiguration to "OFF" and remove EnabledMfas. MFAs can only be all disabled if MfaConfiguration is OFF. Once SMS_MFA is enabled, SMS_MFA can only be disabled by setting MfaConfiguration to "OFF". Can be one of the following values:
SMS_MFA
- Enables SMS MFA for the user pool. SMS_MFA can only be enabled if SMS configuration is provided.SOFTWARE_TOKEN_MFA
- Enables software token MFA for the user pool.
Allowed values:
SMS_MFA
|SOFTWARE_TOKEN_MFA
- lambda
Config UserPool Lambda Config The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the AWS CLI , see add-permission .
- mfa
Configuration String - The multi-factor authentication (MFA) configuration. Valid values include:
OFF
MFA won't be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
- policies
User
Pool Policies - The policy associated with a user pool.
- schema
List<User
Pool Schema Attribute> The schema attributes for the new user pool. These attributes can be standard or custom attributes.
During a user pool update, you can add new schema attributes but you cannot modify or delete an existing schema attribute.
- sms
Authentication StringMessage - A string representing the SMS authentication message.
- sms
Configuration UserPool Sms Configuration - The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your AWS account through Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the AWS Region that you want, the Amazon Cognito user pool uses an AWS Identity and Access Management (IAM) role in your AWS account .
- sms
Verification StringMessage - This parameter is no longer used. See VerificationMessageTemplateType .
- user
Attribute UserUpdate Settings Pool User Attribute Update Settings - The settings for updates to user attributes. These settings include the property
AttributesRequireVerificationBeforeUpdate
, a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For more information, see Verifying updates to email addresses and phone numbers . - user
Pool UserAdd Ons Pool Add Ons User pool add-ons. Contains settings for activation of advanced security features. To log user security information but take no action, set to
AUDIT
. To configure automatic security responses to risky traffic to your user pool, set toENFORCED
.For more information, see Adding advanced security to a user pool .
- user
Pool StringName - A string used to name the user pool.
- Map<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.
- username
Attributes List<String> Determines whether email addresses or phone numbers can be specified as user names when a user signs up. Possible values:
phone_number
oremail
.This user pool property cannot be updated.
- username
Configuration UserPool Username Configuration - You can choose to set case sensitivity on the username input for the selected sign-in option. For example, when this is set to
False
, users will be able to sign in using either "username" or "Username". This configuration is immutable once it has been set. - verification
Message UserTemplate Pool Verification Message Template - The template for the verification message that the user sees when the app requests permission to access the user's information.
- account
Recovery UserSetting Pool Account Recovery Setting - Use this setting to define which verified available method a user can use to recover their password when they call
ForgotPassword
. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email. - admin
Create UserUser Config Pool Admin Create User Config - The configuration for creating a new user profile.
- alias
Attributes string[] Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
This user pool property cannot be updated.
- auto
Verified string[]Attributes - The attributes to be auto-verified. Possible values: email , phone_number .
- 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 anInvalidParameterException
error. To delete a protected user pool, send a newDeleteUserPool
request after you deactivate deletion protection in anUpdateUserPool
API request.- device
Configuration UserPool Device Configuration The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
When you provide a value for any
DeviceConfiguration
field, you activate the Amazon Cognito device-remembering feature.- email
Configuration UserPool Email Configuration - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
- email
Verification stringMessage - This parameter is no longer used. See VerificationMessageTemplateType .
- email
Verification stringSubject - This parameter is no longer used. See VerificationMessageTemplateType .
- enabled
Mfas string[] Enables MFA on a specified user pool. To disable all MFAs after it has been enabled, set MfaConfiguration to "OFF" and remove EnabledMfas. MFAs can only be all disabled if MfaConfiguration is OFF. Once SMS_MFA is enabled, SMS_MFA can only be disabled by setting MfaConfiguration to "OFF". Can be one of the following values:
SMS_MFA
- Enables SMS MFA for the user pool. SMS_MFA can only be enabled if SMS configuration is provided.SOFTWARE_TOKEN_MFA
- Enables software token MFA for the user pool.
Allowed values:
SMS_MFA
|SOFTWARE_TOKEN_MFA
- lambda
Config UserPool Lambda Config The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the AWS CLI , see add-permission .
- mfa
Configuration string - The multi-factor authentication (MFA) configuration. Valid values include:
OFF
MFA won't be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
- policies
User
Pool Policies - The policy associated with a user pool.
- schema
User
Pool Schema Attribute[] The schema attributes for the new user pool. These attributes can be standard or custom attributes.
During a user pool update, you can add new schema attributes but you cannot modify or delete an existing schema attribute.
- sms
Authentication stringMessage - A string representing the SMS authentication message.
- sms
Configuration UserPool Sms Configuration - The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your AWS account through Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the AWS Region that you want, the Amazon Cognito user pool uses an AWS Identity and Access Management (IAM) role in your AWS account .
- sms
Verification stringMessage - This parameter is no longer used. See VerificationMessageTemplateType .
- user
Attribute UserUpdate Settings Pool User Attribute Update Settings - The settings for updates to user attributes. These settings include the property
AttributesRequireVerificationBeforeUpdate
, a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For more information, see Verifying updates to email addresses and phone numbers . - user
Pool UserAdd Ons Pool Add Ons User pool add-ons. Contains settings for activation of advanced security features. To log user security information but take no action, set to
AUDIT
. To configure automatic security responses to risky traffic to your user pool, set toENFORCED
.For more information, see Adding advanced security to a user pool .
- user
Pool stringName - A string used to name the user pool.
- {[key: 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.
- username
Attributes string[] Determines whether email addresses or phone numbers can be specified as user names when a user signs up. Possible values:
phone_number
oremail
.This user pool property cannot be updated.
- username
Configuration UserPool Username Configuration - You can choose to set case sensitivity on the username input for the selected sign-in option. For example, when this is set to
False
, users will be able to sign in using either "username" or "Username". This configuration is immutable once it has been set. - verification
Message UserTemplate Pool Verification Message Template - The template for the verification message that the user sees when the app requests permission to access the user's information.
- account_
recovery_ Usersetting Pool Account Recovery Setting Args - Use this setting to define which verified available method a user can use to recover their password when they call
ForgotPassword
. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email. - admin_
create_ Useruser_ config Pool Admin Create User Config Args - The configuration for creating a new user profile.
- alias_
attributes Sequence[str] Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
This user pool property cannot be updated.
- auto_
verified_ Sequence[str]attributes - The attributes to be auto-verified. Possible values: email , phone_number .
- deletion_
protection str 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 anInvalidParameterException
error. To delete a protected user pool, send a newDeleteUserPool
request after you deactivate deletion protection in anUpdateUserPool
API request.- device_
configuration UserPool Device Configuration Args 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.- email_
configuration UserPool Email Configuration Args - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
- email_
verification_ strmessage - This parameter is no longer used. See VerificationMessageTemplateType .
- email_
verification_ strsubject - This parameter is no longer used. See VerificationMessageTemplateType .
- enabled_
mfas Sequence[str] Enables MFA on a specified user pool. To disable all MFAs after it has been enabled, set MfaConfiguration to "OFF" and remove EnabledMfas. MFAs can only be all disabled if MfaConfiguration is OFF. Once SMS_MFA is enabled, SMS_MFA can only be disabled by setting MfaConfiguration to "OFF". Can be one of the following values:
SMS_MFA
- Enables SMS MFA for the user pool. SMS_MFA can only be enabled if SMS configuration is provided.SOFTWARE_TOKEN_MFA
- Enables software token MFA for the user pool.
Allowed values:
SMS_MFA
|SOFTWARE_TOKEN_MFA
- lambda_
config UserPool Lambda Config Args The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the AWS CLI , see add-permission .
- mfa_
configuration str - The multi-factor authentication (MFA) configuration. Valid values include:
OFF
MFA won't be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
- policies
User
Pool Policies Args - The policy associated with a user pool.
- schema
Sequence[User
Pool Schema Attribute Args] The schema attributes for the new user pool. These attributes can be standard or custom attributes.
During a user pool update, you can add new schema attributes but you cannot modify or delete an existing schema attribute.
- sms_
authentication_ strmessage - A string representing the SMS authentication message.
- sms_
configuration UserPool Sms Configuration Args - The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your AWS account through Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the AWS Region that you want, the Amazon Cognito user pool uses an AWS Identity and Access Management (IAM) role in your AWS account .
- sms_
verification_ strmessage - This parameter is no longer used. See VerificationMessageTemplateType .
- user_
attribute_ Userupdate_ settings Pool User Attribute Update Settings Args - 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 . - user_
pool_ Useradd_ ons Pool Add Ons Args 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 toENFORCED
.For more information, see Adding advanced security to a user pool .
- user_
pool_ strname - A string used to name the user pool.
- Mapping[str, str]
- 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.
- username_
attributes Sequence[str] Determines whether email addresses or phone numbers can be specified as user names when a user signs up. Possible values:
phone_number
oremail
.This user pool property cannot be updated.
- username_
configuration UserPool Username Configuration Args - You can choose to set case sensitivity on the username input for the selected sign-in option. For example, when this is set to
False
, users will be able to sign in using either "username" or "Username". This configuration is immutable once it has been set. - verification_
message_ Usertemplate Pool Verification Message Template Args - The template for the verification message that the user sees when the app requests permission to access the user's information.
- account
Recovery Property MapSetting - Use this setting to define which verified available method a user can use to recover their password when they call
ForgotPassword
. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email. - admin
Create Property MapUser Config - The configuration for creating a new user profile.
- alias
Attributes List<String> Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
This user pool property cannot be updated.
- auto
Verified List<String>Attributes - The attributes to be auto-verified. Possible values: email , phone_number .
- 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 anInvalidParameterException
error. To delete a protected user pool, send a newDeleteUserPool
request after you deactivate deletion protection in anUpdateUserPool
API request.- device
Configuration Property Map 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.- email
Configuration Property Map - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
- email
Verification StringMessage - This parameter is no longer used. See VerificationMessageTemplateType .
- email
Verification StringSubject - This parameter is no longer used. See VerificationMessageTemplateType .
- enabled
Mfas List<String> Enables MFA on a specified user pool. To disable all MFAs after it has been enabled, set MfaConfiguration to "OFF" and remove EnabledMfas. MFAs can only be all disabled if MfaConfiguration is OFF. Once SMS_MFA is enabled, SMS_MFA can only be disabled by setting MfaConfiguration to "OFF". Can be one of the following values:
SMS_MFA
- Enables SMS MFA for the user pool. SMS_MFA can only be enabled if SMS configuration is provided.SOFTWARE_TOKEN_MFA
- Enables software token MFA for the user pool.
Allowed values:
SMS_MFA
|SOFTWARE_TOKEN_MFA
- lambda
Config Property Map The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the AWS CLI , see add-permission .
- mfa
Configuration String - The multi-factor authentication (MFA) configuration. Valid values include:
OFF
MFA won't be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
- policies Property Map
- The policy associated with a user pool.
- schema List<Property Map>
The schema attributes for the new user pool. These attributes can be standard or custom attributes.
During a user pool update, you can add new schema attributes but you cannot modify or delete an existing schema attribute.
- sms
Authentication StringMessage - A string representing the SMS authentication message.
- sms
Configuration Property Map - The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your AWS account through Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the AWS Region that you want, the Amazon Cognito user pool uses an AWS Identity and Access Management (IAM) role in your AWS account .
- sms
Verification StringMessage - This parameter is no longer used. See VerificationMessageTemplateType .
- user
Attribute Property MapUpdate Settings - The settings for updates to user attributes. These settings include the property
AttributesRequireVerificationBeforeUpdate
, a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For more information, see Verifying updates to email addresses and phone numbers . - user
Pool Property MapAdd Ons User pool add-ons. Contains settings for activation of advanced security features. To log user security information but take no action, set to
AUDIT
. To configure automatic security responses to risky traffic to your user pool, set toENFORCED
.For more information, see Adding advanced security to a user pool .
- user
Pool StringName - A string used to name the user pool.
- Map<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.
- username
Attributes List<String> Determines whether email addresses or phone numbers can be specified as user names when a user signs up. Possible values:
phone_number
oremail
.This user pool property cannot be updated.
- username
Configuration Property Map - You can choose to set case sensitivity on the username input for the selected sign-in option. For example, when this is set to
False
, users will be able to sign in using either "username" or "Username". This configuration is immutable once it has been set. - verification
Message Property MapTemplate - The template for the verification message that the user sees when the app requests permission to access the user's information.
Outputs
All input properties are implicitly available as output properties. Additionally, the UserPool resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the user pool, such as
arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341
. - Id string
- The provider-assigned unique ID for this managed resource.
- Provider
Name string - The provider name of the Amazon Cognito user pool, specified as a
String
. - Provider
Url string - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - User
Pool stringId - The ID of the user pool.
- Arn string
- The Amazon Resource Name (ARN) of the user pool, such as
arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341
. - Id string
- The provider-assigned unique ID for this managed resource.
- Provider
Name string - The provider name of the Amazon Cognito user pool, specified as a
String
. - Provider
Url string - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - User
Pool stringId - The ID of the user pool.
- arn String
- The Amazon Resource Name (ARN) of the user pool, such as
arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341
. - id String
- The provider-assigned unique ID for this managed resource.
- provider
Name String - The provider name of the Amazon Cognito user pool, specified as a
String
. - provider
Url String - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - user
Pool StringId - The ID of the user pool.
- arn string
- The Amazon Resource Name (ARN) of the user pool, such as
arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341
. - id string
- The provider-assigned unique ID for this managed resource.
- provider
Name string - The provider name of the Amazon Cognito user pool, specified as a
String
. - provider
Url string - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - user
Pool stringId - The ID of the user pool.
- arn str
- The Amazon Resource Name (ARN) of the user pool, such as
arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341
. - id str
- The provider-assigned unique ID for this managed resource.
- provider_
name str - The provider name of the Amazon Cognito user pool, specified as a
String
. - provider_
url str - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - user_
pool_ strid - The ID of the user pool.
- arn String
- The Amazon Resource Name (ARN) of the user pool, such as
arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341
. - id String
- The provider-assigned unique ID for this managed resource.
- provider
Name String - The provider name of the Amazon Cognito user pool, specified as a
String
. - provider
Url String - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - user
Pool StringId - The ID of the user pool.
Supporting Types
UserPoolAccountRecoverySetting, UserPoolAccountRecoverySettingArgs
- Recovery
Mechanisms List<Pulumi.Aws Native. Cognito. Inputs. User Pool Recovery Option> - The list of
RecoveryOptionTypes
.
- Recovery
Mechanisms []UserPool Recovery Option - The list of
RecoveryOptionTypes
.
- recovery
Mechanisms List<UserPool Recovery Option> - The list of
RecoveryOptionTypes
.
- recovery
Mechanisms UserPool Recovery Option[] - The list of
RecoveryOptionTypes
.
- recovery_
mechanisms Sequence[UserPool Recovery Option] - The list of
RecoveryOptionTypes
.
- recovery
Mechanisms List<Property Map> - The list of
RecoveryOptionTypes
.
UserPoolAddOns, UserPoolAddOnsArgs
- Advanced
Security stringMode - The operating mode of advanced security features in your user pool.
- Advanced
Security stringMode - The operating mode of advanced security features in your user pool.
- advanced
Security StringMode - The operating mode of advanced security features in your user pool.
- advanced
Security stringMode - The operating mode of advanced security features in your user pool.
- advanced_
security_ strmode - The operating mode of advanced security features in your user pool.
- advanced
Security StringMode - The operating mode of advanced security features in your user pool.
UserPoolAdminCreateUserConfig, UserPoolAdminCreateUserConfigArgs
- Allow
Admin boolCreate User Only - Set to
True
if only the administrator is allowed to create user profiles. Set toFalse
if users can sign themselves up via an app. - Invite
Message Pulumi.Template Aws Native. Cognito. Inputs. User Pool Invite Message Template The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages .
- Unused
Account intValidity Days The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must call
AdminCreateUser
again, specifying"RESEND"
for theMessageAction
parameter. The default value for this parameter is 7.If you set a value for
TemporaryPasswordValidityDays
inPasswordPolicy
, that value will be used, andUnusedAccountValidityDays
will be no longer be an available parameter for that user pool.
- Allow
Admin boolCreate User Only - Set to
True
if only the administrator is allowed to create user profiles. Set toFalse
if users can sign themselves up via an app. - Invite
Message UserTemplate Pool Invite Message Template The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages .
- Unused
Account intValidity Days The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must call
AdminCreateUser
again, specifying"RESEND"
for theMessageAction
parameter. The default value for this parameter is 7.If you set a value for
TemporaryPasswordValidityDays
inPasswordPolicy
, that value will be used, andUnusedAccountValidityDays
will be no longer be an available parameter for that user pool.
- allow
Admin BooleanCreate User Only - Set to
True
if only the administrator is allowed to create user profiles. Set toFalse
if users can sign themselves up via an app. - invite
Message UserTemplate Pool Invite Message Template The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages .
- unused
Account IntegerValidity Days The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must call
AdminCreateUser
again, specifying"RESEND"
for theMessageAction
parameter. The default value for this parameter is 7.If you set a value for
TemporaryPasswordValidityDays
inPasswordPolicy
, that value will be used, andUnusedAccountValidityDays
will be no longer be an available parameter for that user pool.
- allow
Admin booleanCreate User Only - Set to
True
if only the administrator is allowed to create user profiles. Set toFalse
if users can sign themselves up via an app. - invite
Message UserTemplate Pool Invite Message Template The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages .
- unused
Account numberValidity Days The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must call
AdminCreateUser
again, specifying"RESEND"
for theMessageAction
parameter. The default value for this parameter is 7.If you set a value for
TemporaryPasswordValidityDays
inPasswordPolicy
, that value will be used, andUnusedAccountValidityDays
will be no longer be an available parameter for that user pool.
- allow_
admin_ boolcreate_ user_ only - Set to
True
if only the administrator is allowed to create user profiles. Set toFalse
if users can sign themselves up via an app. - invite_
message_ Usertemplate Pool Invite Message Template The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages .
- unused_
account_ intvalidity_ days The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must call
AdminCreateUser
again, specifying"RESEND"
for theMessageAction
parameter. The default value for this parameter is 7.If you set a value for
TemporaryPasswordValidityDays
inPasswordPolicy
, that value will be used, andUnusedAccountValidityDays
will be no longer be an available parameter for that user pool.
- allow
Admin BooleanCreate User Only - Set to
True
if only the administrator is allowed to create user profiles. Set toFalse
if users can sign themselves up via an app. - invite
Message Property MapTemplate The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages .
- unused
Account NumberValidity Days The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must call
AdminCreateUser
again, specifying"RESEND"
for theMessageAction
parameter. The default value for this parameter is 7.If you set a value for
TemporaryPasswordValidityDays
inPasswordPolicy
, that value will be used, andUnusedAccountValidityDays
will be no longer be an available parameter for that user pool.
UserPoolCustomEmailSender, UserPoolCustomEmailSenderArgs
- Lambda
Arn string - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.
- Lambda
Version string - The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. The only supported value is
V1_0
.
- Lambda
Arn string - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.
- Lambda
Version string - The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. The only supported value is
V1_0
.
- lambda
Arn String - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.
- lambda
Version String - The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. The only supported value is
V1_0
.
- lambda
Arn string - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.
- lambda
Version string - The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. The only supported value is
V1_0
.
- lambda_
arn str - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.
- lambda_
version str - The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. The only supported value is
V1_0
.
- lambda
Arn String - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.
- lambda
Version String - The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. The only supported value is
V1_0
.
UserPoolCustomSmsSender, UserPoolCustomSmsSenderArgs
- Lambda
Arn string - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send SMS notifications to users.
- Lambda
Version string - The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS sender Lambda function. The only supported value is
V1_0
.
- Lambda
Arn string - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send SMS notifications to users.
- Lambda
Version string - The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS sender Lambda function. The only supported value is
V1_0
.
- lambda
Arn String - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send SMS notifications to users.
- lambda
Version String - The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS sender Lambda function. The only supported value is
V1_0
.
- lambda
Arn string - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send SMS notifications to users.
- lambda
Version string - The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS sender Lambda function. The only supported value is
V1_0
.
- lambda_
arn str - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send SMS notifications to users.
- lambda_
version str - The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS sender Lambda function. The only supported value is
V1_0
.
- lambda
Arn String - The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send SMS notifications to users.
- lambda
Version String - The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS sender Lambda function. The only supported value is
V1_0
.
UserPoolDeviceConfiguration, UserPoolDeviceConfigurationArgs
- Challenge
Required boolOn New Device When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Whether or not
ChallengeRequiredOnNewDevice
is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.- Device
Only boolRemembered On User Prompt When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a ConfirmDevice API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an UpdateDeviceStatus API request.
When
DeviceOnlyRememberedOnUserPrompt
isfalse
, Amazon Cognito immediately remembers devices that you register in aConfirmDevice
API request.
- Challenge
Required boolOn New Device When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Whether or not
ChallengeRequiredOnNewDevice
is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.- Device
Only boolRemembered On User Prompt When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a ConfirmDevice API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an UpdateDeviceStatus API request.
When
DeviceOnlyRememberedOnUserPrompt
isfalse
, Amazon Cognito immediately remembers devices that you register in aConfirmDevice
API request.
- challenge
Required BooleanOn New Device When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Whether or not
ChallengeRequiredOnNewDevice
is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.- device
Only BooleanRemembered On User Prompt When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a ConfirmDevice API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an UpdateDeviceStatus API request.
When
DeviceOnlyRememberedOnUserPrompt
isfalse
, Amazon Cognito immediately remembers devices that you register in aConfirmDevice
API request.
- challenge
Required booleanOn New Device When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Whether or not
ChallengeRequiredOnNewDevice
is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.- device
Only booleanRemembered On User Prompt When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a ConfirmDevice API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an UpdateDeviceStatus API request.
When
DeviceOnlyRememberedOnUserPrompt
isfalse
, Amazon Cognito immediately remembers devices that you register in aConfirmDevice
API request.
- challenge_
required_ boolon_ new_ device When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Whether or not
ChallengeRequiredOnNewDevice
is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.- device_
only_ boolremembered_ on_ user_ prompt When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a ConfirmDevice API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an UpdateDeviceStatus API request.
When
DeviceOnlyRememberedOnUserPrompt
isfalse
, Amazon Cognito immediately remembers devices that you register in aConfirmDevice
API request.
- challenge
Required BooleanOn New Device When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Whether or not
ChallengeRequiredOnNewDevice
is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.- device
Only BooleanRemembered On User Prompt When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a ConfirmDevice API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an UpdateDeviceStatus API request.
When
DeviceOnlyRememberedOnUserPrompt
isfalse
, Amazon Cognito immediately remembers devices that you register in aConfirmDevice
API request.
UserPoolEmailConfiguration, UserPoolEmailConfigurationArgs
- Configuration
Set string - The set of configuration rules that can be applied to emails sent using Amazon SES. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails:
- Event publishing – Amazon SES can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other AWS services such as SNS and CloudWatch.
- IP pool management – When leasing dedicated IP addresses with Amazon SES, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets.
- Email
Sending stringAccount Specifies whether Amazon Cognito uses its built-in functionality to send your users email messages, or uses your Amazon Simple Email Service email configuration. Specify one of the following values:
- COGNITO_DEFAULT - When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is less than the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration.
To look up the email delivery limit for the default option, see Limits in the Amazon Cognito Developer Guide .
The default FROM address is
no-reply@verificationemail.com
. To customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon SES verified email address for theSourceArn
parameter.- DEVELOPER - When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your AWS account .
If you use this option, provide the ARN of an Amazon SES verified email address for the
SourceArn
parameter.Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a service-linked role , which is a type of role in your AWS account . This role contains the permissions that allow you to access Amazon SES and send email messages from your email address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide .
- From string
- Identifies either the sender's email address or the sender's name with their email address. For example,
testuser@example.com
orTest User <testuser@example.com>
. This address appears before the body of the email. - Reply
To stringEmail Address - The destination to which the receiver of the email should reply.
- Source
Arn string The ARN of a verified email address or an address from a verified domain in Amazon SES. You can set a
SourceArn
email from a verified domain only with an API request. You can set a verified email address, but not an address in a verified domain, in the Amazon Cognito console. Amazon Cognito uses the email address that you provide in one of the following ways, depending on the value that you specify for theEmailSendingAccount
parameter:- If you specify
COGNITO_DEFAULT
, Amazon Cognito uses this address as the custom FROM address when it emails your users using its built-in email account. - If you specify
DEVELOPER
, Amazon Cognito emails your users with this address by calling Amazon SES on your behalf.
The Region value of the
SourceArn
parameter must indicate a supported AWS Region of your user pool. Typically, the Region in theSourceArn
and the user pool Region are the same. For more information, see Amazon SES email configuration regions in the Amazon Cognito Developer Guide .- If you specify
- Configuration
Set string - The set of configuration rules that can be applied to emails sent using Amazon SES. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails:
- Event publishing – Amazon SES can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other AWS services such as SNS and CloudWatch.
- IP pool management – When leasing dedicated IP addresses with Amazon SES, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets.
- Email
Sending stringAccount Specifies whether Amazon Cognito uses its built-in functionality to send your users email messages, or uses your Amazon Simple Email Service email configuration. Specify one of the following values:
- COGNITO_DEFAULT - When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is less than the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration.
To look up the email delivery limit for the default option, see Limits in the Amazon Cognito Developer Guide .
The default FROM address is
no-reply@verificationemail.com
. To customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon SES verified email address for theSourceArn
parameter.- DEVELOPER - When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your AWS account .
If you use this option, provide the ARN of an Amazon SES verified email address for the
SourceArn
parameter.Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a service-linked role , which is a type of role in your AWS account . This role contains the permissions that allow you to access Amazon SES and send email messages from your email address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide .
- From string
- Identifies either the sender's email address or the sender's name with their email address. For example,
testuser@example.com
orTest User <testuser@example.com>
. This address appears before the body of the email. - Reply
To stringEmail Address - The destination to which the receiver of the email should reply.
- Source
Arn string The ARN of a verified email address or an address from a verified domain in Amazon SES. You can set a
SourceArn
email from a verified domain only with an API request. You can set a verified email address, but not an address in a verified domain, in the Amazon Cognito console. Amazon Cognito uses the email address that you provide in one of the following ways, depending on the value that you specify for theEmailSendingAccount
parameter:- If you specify
COGNITO_DEFAULT
, Amazon Cognito uses this address as the custom FROM address when it emails your users using its built-in email account. - If you specify
DEVELOPER
, Amazon Cognito emails your users with this address by calling Amazon SES on your behalf.
The Region value of the
SourceArn
parameter must indicate a supported AWS Region of your user pool. Typically, the Region in theSourceArn
and the user pool Region are the same. For more information, see Amazon SES email configuration regions in the Amazon Cognito Developer Guide .- If you specify
- configuration
Set String - The set of configuration rules that can be applied to emails sent using Amazon SES. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails:
- Event publishing – Amazon SES can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other AWS services such as SNS and CloudWatch.
- IP pool management – When leasing dedicated IP addresses with Amazon SES, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets.
- email
Sending StringAccount Specifies whether Amazon Cognito uses its built-in functionality to send your users email messages, or uses your Amazon Simple Email Service email configuration. Specify one of the following values:
- COGNITO_DEFAULT - When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is less than the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration.
To look up the email delivery limit for the default option, see Limits in the Amazon Cognito Developer Guide .
The default FROM address is
no-reply@verificationemail.com
. To customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon SES verified email address for theSourceArn
parameter.- DEVELOPER - When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your AWS account .
If you use this option, provide the ARN of an Amazon SES verified email address for the
SourceArn
parameter.Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a service-linked role , which is a type of role in your AWS account . This role contains the permissions that allow you to access Amazon SES and send email messages from your email address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide .
- from String
- Identifies either the sender's email address or the sender's name with their email address. For example,
testuser@example.com
orTest User <testuser@example.com>
. This address appears before the body of the email. - reply
To StringEmail Address - The destination to which the receiver of the email should reply.
- source
Arn String The ARN of a verified email address or an address from a verified domain in Amazon SES. You can set a
SourceArn
email from a verified domain only with an API request. You can set a verified email address, but not an address in a verified domain, in the Amazon Cognito console. Amazon Cognito uses the email address that you provide in one of the following ways, depending on the value that you specify for theEmailSendingAccount
parameter:- If you specify
COGNITO_DEFAULT
, Amazon Cognito uses this address as the custom FROM address when it emails your users using its built-in email account. - If you specify
DEVELOPER
, Amazon Cognito emails your users with this address by calling Amazon SES on your behalf.
The Region value of the
SourceArn
parameter must indicate a supported AWS Region of your user pool. Typically, the Region in theSourceArn
and the user pool Region are the same. For more information, see Amazon SES email configuration regions in the Amazon Cognito Developer Guide .- If you specify
- configuration
Set string - The set of configuration rules that can be applied to emails sent using Amazon SES. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails:
- Event publishing – Amazon SES can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other AWS services such as SNS and CloudWatch.
- IP pool management – When leasing dedicated IP addresses with Amazon SES, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets.
- email
Sending stringAccount Specifies whether Amazon Cognito uses its built-in functionality to send your users email messages, or uses your Amazon Simple Email Service email configuration. Specify one of the following values:
- COGNITO_DEFAULT - When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is less than the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration.
To look up the email delivery limit for the default option, see Limits in the Amazon Cognito Developer Guide .
The default FROM address is
no-reply@verificationemail.com
. To customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon SES verified email address for theSourceArn
parameter.- DEVELOPER - When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your AWS account .
If you use this option, provide the ARN of an Amazon SES verified email address for the
SourceArn
parameter.Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a service-linked role , which is a type of role in your AWS account . This role contains the permissions that allow you to access Amazon SES and send email messages from your email address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide .
- from string
- Identifies either the sender's email address or the sender's name with their email address. For example,
testuser@example.com
orTest User <testuser@example.com>
. This address appears before the body of the email. - reply
To stringEmail Address - The destination to which the receiver of the email should reply.
- source
Arn string The ARN of a verified email address or an address from a verified domain in Amazon SES. You can set a
SourceArn
email from a verified domain only with an API request. You can set a verified email address, but not an address in a verified domain, in the Amazon Cognito console. Amazon Cognito uses the email address that you provide in one of the following ways, depending on the value that you specify for theEmailSendingAccount
parameter:- If you specify
COGNITO_DEFAULT
, Amazon Cognito uses this address as the custom FROM address when it emails your users using its built-in email account. - If you specify
DEVELOPER
, Amazon Cognito emails your users with this address by calling Amazon SES on your behalf.
The Region value of the
SourceArn
parameter must indicate a supported AWS Region of your user pool. Typically, the Region in theSourceArn
and the user pool Region are the same. For more information, see Amazon SES email configuration regions in the Amazon Cognito Developer Guide .- If you specify
- configuration_
set str - The set of configuration rules that can be applied to emails sent using Amazon SES. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails:
- Event publishing – Amazon SES can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other AWS services such as SNS and CloudWatch.
- IP pool management – When leasing dedicated IP addresses with Amazon SES, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets.
- email_
sending_ straccount Specifies whether Amazon Cognito uses its built-in functionality to send your users email messages, or uses your Amazon Simple Email Service email configuration. Specify one of the following values:
- COGNITO_DEFAULT - When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is less than the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration.
To look up the email delivery limit for the default option, see Limits in the Amazon Cognito Developer Guide .
The default FROM address is
no-reply@verificationemail.com
. To customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon SES verified email address for theSourceArn
parameter.- DEVELOPER - When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your AWS account .
If you use this option, provide the ARN of an Amazon SES verified email address for the
SourceArn
parameter.Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a service-linked role , which is a type of role in your AWS account . This role contains the permissions that allow you to access Amazon SES and send email messages from your email address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide .
- from_ str
- Identifies either the sender's email address or the sender's name with their email address. For example,
testuser@example.com
orTest User <testuser@example.com>
. This address appears before the body of the email. - reply_
to_ stremail_ address - The destination to which the receiver of the email should reply.
- source_
arn str The ARN of a verified email address or an address from a verified domain in Amazon SES. You can set a
SourceArn
email from a verified domain only with an API request. You can set a verified email address, but not an address in a verified domain, in the Amazon Cognito console. Amazon Cognito uses the email address that you provide in one of the following ways, depending on the value that you specify for theEmailSendingAccount
parameter:- If you specify
COGNITO_DEFAULT
, Amazon Cognito uses this address as the custom FROM address when it emails your users using its built-in email account. - If you specify
DEVELOPER
, Amazon Cognito emails your users with this address by calling Amazon SES on your behalf.
The Region value of the
SourceArn
parameter must indicate a supported AWS Region of your user pool. Typically, the Region in theSourceArn
and the user pool Region are the same. For more information, see Amazon SES email configuration regions in the Amazon Cognito Developer Guide .- If you specify
- configuration
Set String - The set of configuration rules that can be applied to emails sent using Amazon SES. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails:
- Event publishing – Amazon SES can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other AWS services such as SNS and CloudWatch.
- IP pool management – When leasing dedicated IP addresses with Amazon SES, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets.
- email
Sending StringAccount Specifies whether Amazon Cognito uses its built-in functionality to send your users email messages, or uses your Amazon Simple Email Service email configuration. Specify one of the following values:
- COGNITO_DEFAULT - When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is less than the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration.
To look up the email delivery limit for the default option, see Limits in the Amazon Cognito Developer Guide .
The default FROM address is
no-reply@verificationemail.com
. To customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon SES verified email address for theSourceArn
parameter.- DEVELOPER - When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your AWS account .
If you use this option, provide the ARN of an Amazon SES verified email address for the
SourceArn
parameter.Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a service-linked role , which is a type of role in your AWS account . This role contains the permissions that allow you to access Amazon SES and send email messages from your email address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide .
- from String
- Identifies either the sender's email address or the sender's name with their email address. For example,
testuser@example.com
orTest User <testuser@example.com>
. This address appears before the body of the email. - reply
To StringEmail Address - The destination to which the receiver of the email should reply.
- source
Arn String The ARN of a verified email address or an address from a verified domain in Amazon SES. You can set a
SourceArn
email from a verified domain only with an API request. You can set a verified email address, but not an address in a verified domain, in the Amazon Cognito console. Amazon Cognito uses the email address that you provide in one of the following ways, depending on the value that you specify for theEmailSendingAccount
parameter:- If you specify
COGNITO_DEFAULT
, Amazon Cognito uses this address as the custom FROM address when it emails your users using its built-in email account. - If you specify
DEVELOPER
, Amazon Cognito emails your users with this address by calling Amazon SES on your behalf.
The Region value of the
SourceArn
parameter must indicate a supported AWS Region of your user pool. Typically, the Region in theSourceArn
and the user pool Region are the same. For more information, see Amazon SES email configuration regions in the Amazon Cognito Developer Guide .- If you specify
UserPoolInviteMessageTemplate, UserPoolInviteMessageTemplateArgs
- Email
Message string - The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
- Email
Subject string - The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
- Sms
Message string - The message template for SMS messages.
- Email
Message string - The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
- Email
Subject string - The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
- Sms
Message string - The message template for SMS messages.
- email
Message String - The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
- email
Subject String - The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
- sms
Message String - The message template for SMS messages.
- email
Message string - The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
- email
Subject string - The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
- sms
Message string - The message template for SMS messages.
- email_
message str - The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
- email_
subject str - The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
- sms_
message str - The message template for SMS messages.
- email
Message String - The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
- email
Subject String - The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
- sms
Message String - The message template for SMS messages.
UserPoolLambdaConfig, UserPoolLambdaConfigArgs
- Create
Auth stringChallenge - Creates an authentication challenge.
- Custom
Email Pulumi.Sender Aws Native. Cognito. Inputs. User Pool Custom Email Sender - A custom email sender AWS Lambda trigger.
- Custom
Message string - A custom Message AWS Lambda trigger.
- Custom
Sms Pulumi.Sender Aws Native. Cognito. Inputs. User Pool Custom Sms Sender - A custom SMS sender AWS Lambda trigger.
- Define
Auth stringChallenge - Defines the authentication challenge.
- Kms
Key stringId - The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to
CustomEmailSender
andCustomSMSSender
. - Post
Authentication string - A post-authentication AWS Lambda trigger.
- Post
Confirmation string - A post-confirmation AWS Lambda trigger.
- Pre
Authentication string - A pre-authentication AWS Lambda trigger.
- Pre
Sign stringUp - A pre-registration AWS Lambda trigger.
- Pre
Token stringGeneration The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Set this parameter for legacy purposes. If you also set an ARN in
PreTokenGenerationConfig
, its value must be identical toPreTokenGeneration
. For new instances of pre token generation triggers, set theLambdaArn
ofPreTokenGenerationConfig
.You can set ``
- Pre
Token Pulumi.Generation Config Aws Native. Cognito. Inputs. User Pool Pre Token Generation Config - The detailed configuration of a pre token generation trigger. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - User
Migration string - The user migration Lambda config type.
- Verify
Auth stringChallenge Response - Verifies the authentication challenge response.
- Create
Auth stringChallenge - Creates an authentication challenge.
- Custom
Email UserSender Pool Custom Email Sender - A custom email sender AWS Lambda trigger.
- Custom
Message string - A custom Message AWS Lambda trigger.
- Custom
Sms UserSender Pool Custom Sms Sender - A custom SMS sender AWS Lambda trigger.
- Define
Auth stringChallenge - Defines the authentication challenge.
- Kms
Key stringId - The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to
CustomEmailSender
andCustomSMSSender
. - Post
Authentication string - A post-authentication AWS Lambda trigger.
- Post
Confirmation string - A post-confirmation AWS Lambda trigger.
- Pre
Authentication string - A pre-authentication AWS Lambda trigger.
- Pre
Sign stringUp - A pre-registration AWS Lambda trigger.
- Pre
Token stringGeneration The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Set this parameter for legacy purposes. If you also set an ARN in
PreTokenGenerationConfig
, its value must be identical toPreTokenGeneration
. For new instances of pre token generation triggers, set theLambdaArn
ofPreTokenGenerationConfig
.You can set ``
- Pre
Token UserGeneration Config Pool Pre Token Generation Config - The detailed configuration of a pre token generation trigger. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - User
Migration string - The user migration Lambda config type.
- Verify
Auth stringChallenge Response - Verifies the authentication challenge response.
- create
Auth StringChallenge - Creates an authentication challenge.
- custom
Email UserSender Pool Custom Email Sender - A custom email sender AWS Lambda trigger.
- custom
Message String - A custom Message AWS Lambda trigger.
- custom
Sms UserSender Pool Custom Sms Sender - A custom SMS sender AWS Lambda trigger.
- define
Auth StringChallenge - Defines the authentication challenge.
- kms
Key StringId - The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to
CustomEmailSender
andCustomSMSSender
. - post
Authentication String - A post-authentication AWS Lambda trigger.
- post
Confirmation String - A post-confirmation AWS Lambda trigger.
- pre
Authentication String - A pre-authentication AWS Lambda trigger.
- pre
Sign StringUp - A pre-registration AWS Lambda trigger.
- pre
Token StringGeneration The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Set this parameter for legacy purposes. If you also set an ARN in
PreTokenGenerationConfig
, its value must be identical toPreTokenGeneration
. For new instances of pre token generation triggers, set theLambdaArn
ofPreTokenGenerationConfig
.You can set ``
- pre
Token UserGeneration Config Pool Pre Token Generation Config - The detailed configuration of a pre token generation trigger. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - user
Migration String - The user migration Lambda config type.
- verify
Auth StringChallenge Response - Verifies the authentication challenge response.
- create
Auth stringChallenge - Creates an authentication challenge.
- custom
Email UserSender Pool Custom Email Sender - A custom email sender AWS Lambda trigger.
- custom
Message string - A custom Message AWS Lambda trigger.
- custom
Sms UserSender Pool Custom Sms Sender - A custom SMS sender AWS Lambda trigger.
- define
Auth stringChallenge - Defines the authentication challenge.
- kms
Key stringId - The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to
CustomEmailSender
andCustomSMSSender
. - post
Authentication string - A post-authentication AWS Lambda trigger.
- post
Confirmation string - A post-confirmation AWS Lambda trigger.
- pre
Authentication string - A pre-authentication AWS Lambda trigger.
- pre
Sign stringUp - A pre-registration AWS Lambda trigger.
- pre
Token stringGeneration The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Set this parameter for legacy purposes. If you also set an ARN in
PreTokenGenerationConfig
, its value must be identical toPreTokenGeneration
. For new instances of pre token generation triggers, set theLambdaArn
ofPreTokenGenerationConfig
.You can set ``
- pre
Token UserGeneration Config Pool Pre Token Generation Config - The detailed configuration of a pre token generation trigger. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - user
Migration string - The user migration Lambda config type.
- verify
Auth stringChallenge Response - Verifies the authentication challenge response.
- create_
auth_ strchallenge - Creates an authentication challenge.
- custom_
email_ Usersender Pool Custom Email Sender - A custom email sender AWS Lambda trigger.
- custom_
message str - A custom Message AWS Lambda trigger.
- custom_
sms_ Usersender Pool Custom Sms Sender - A custom SMS sender AWS Lambda trigger.
- define_
auth_ strchallenge - Defines the authentication challenge.
- kms_
key_ strid - The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to
CustomEmailSender
andCustomSMSSender
. - post_
authentication str - A post-authentication AWS Lambda trigger.
- post_
confirmation str - A post-confirmation AWS Lambda trigger.
- pre_
authentication str - A pre-authentication AWS Lambda trigger.
- pre_
sign_ strup - A pre-registration AWS Lambda trigger.
- pre_
token_ strgeneration The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Set this parameter for legacy purposes. If you also set an ARN in
PreTokenGenerationConfig
, its value must be identical toPreTokenGeneration
. For new instances of pre token generation triggers, set theLambdaArn
ofPreTokenGenerationConfig
.You can set ``
- pre_
token_ Usergeneration_ config Pool Pre Token Generation Config - The detailed configuration of a pre token generation trigger. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - user_
migration str - The user migration Lambda config type.
- verify_
auth_ strchallenge_ response - Verifies the authentication challenge response.
- create
Auth StringChallenge - Creates an authentication challenge.
- custom
Email Property MapSender - A custom email sender AWS Lambda trigger.
- custom
Message String - A custom Message AWS Lambda trigger.
- custom
Sms Property MapSender - A custom SMS sender AWS Lambda trigger.
- define
Auth StringChallenge - Defines the authentication challenge.
- kms
Key StringId - The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to
CustomEmailSender
andCustomSMSSender
. - post
Authentication String - A post-authentication AWS Lambda trigger.
- post
Confirmation String - A post-confirmation AWS Lambda trigger.
- pre
Authentication String - A pre-authentication AWS Lambda trigger.
- pre
Sign StringUp - A pre-registration AWS Lambda trigger.
- pre
Token StringGeneration The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Set this parameter for legacy purposes. If you also set an ARN in
PreTokenGenerationConfig
, its value must be identical toPreTokenGeneration
. For new instances of pre token generation triggers, set theLambdaArn
ofPreTokenGenerationConfig
.You can set ``
- pre
Token Property MapGeneration Config - The detailed configuration of a pre token generation trigger. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - user
Migration String - The user migration Lambda config type.
- verify
Auth StringChallenge Response - Verifies the authentication challenge response.
UserPoolNumberAttributeConstraints, UserPoolNumberAttributeConstraintsArgs
UserPoolPasswordPolicy, UserPoolPasswordPolicyArgs
- Minimum
Length int - The minimum length of the password in the policy that you have set. This value can't be less than 6.
- Require
Lowercase bool - In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
- Require
Numbers bool - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
- Require
Symbols bool - In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
- Require
Uppercase bool - In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
- Temporary
Password intValidity Days The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password. Defaults to
7
. If you submit a value of0
, Amazon Cognito treats it as a null value and setsTemporaryPasswordValidityDays
to its default value.When you set
TemporaryPasswordValidityDays
for a user pool, you can no longer set a value for the legacyUnusedAccountValidityDays
parameter in that user pool.
- Minimum
Length int - The minimum length of the password in the policy that you have set. This value can't be less than 6.
- Require
Lowercase bool - In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
- Require
Numbers bool - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
- Require
Symbols bool - In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
- Require
Uppercase bool - In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
- Temporary
Password intValidity Days The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password. Defaults to
7
. If you submit a value of0
, Amazon Cognito treats it as a null value and setsTemporaryPasswordValidityDays
to its default value.When you set
TemporaryPasswordValidityDays
for a user pool, you can no longer set a value for the legacyUnusedAccountValidityDays
parameter in that user pool.
- minimum
Length Integer - The minimum length of the password in the policy that you have set. This value can't be less than 6.
- require
Lowercase Boolean - In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
- require
Numbers Boolean - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
- require
Symbols Boolean - In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
- require
Uppercase Boolean - In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
- temporary
Password IntegerValidity Days The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password. Defaults to
7
. If you submit a value of0
, Amazon Cognito treats it as a null value and setsTemporaryPasswordValidityDays
to its default value.When you set
TemporaryPasswordValidityDays
for a user pool, you can no longer set a value for the legacyUnusedAccountValidityDays
parameter in that user pool.
- minimum
Length number - The minimum length of the password in the policy that you have set. This value can't be less than 6.
- require
Lowercase boolean - In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
- require
Numbers boolean - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
- require
Symbols boolean - In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
- require
Uppercase boolean - In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
- temporary
Password numberValidity Days The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password. Defaults to
7
. If you submit a value of0
, Amazon Cognito treats it as a null value and setsTemporaryPasswordValidityDays
to its default value.When you set
TemporaryPasswordValidityDays
for a user pool, you can no longer set a value for the legacyUnusedAccountValidityDays
parameter in that user pool.
- minimum_
length int - The minimum length of the password in the policy that you have set. This value can't be less than 6.
- require_
lowercase bool - In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
- require_
numbers bool - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
- require_
symbols bool - In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
- require_
uppercase bool - In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
- temporary_
password_ intvalidity_ days The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password. Defaults to
7
. If you submit a value of0
, Amazon Cognito treats it as a null value and setsTemporaryPasswordValidityDays
to its default value.When you set
TemporaryPasswordValidityDays
for a user pool, you can no longer set a value for the legacyUnusedAccountValidityDays
parameter in that user pool.
- minimum
Length Number - The minimum length of the password in the policy that you have set. This value can't be less than 6.
- require
Lowercase Boolean - In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
- require
Numbers Boolean - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
- require
Symbols Boolean - In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
- require
Uppercase Boolean - In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
- temporary
Password NumberValidity Days The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password. Defaults to
7
. If you submit a value of0
, Amazon Cognito treats it as a null value and setsTemporaryPasswordValidityDays
to its default value.When you set
TemporaryPasswordValidityDays
for a user pool, you can no longer set a value for the legacyUnusedAccountValidityDays
parameter in that user pool.
UserPoolPolicies, UserPoolPoliciesArgs
- Password
Policy Pulumi.Aws Native. Cognito. Inputs. User Pool Password Policy - The password policy.
- Password
Policy UserPool Password Policy - The password policy.
- password
Policy UserPool Password Policy - The password policy.
- password
Policy UserPool Password Policy - The password policy.
- password_
policy UserPool Password Policy - The password policy.
- password
Policy Property Map - The password policy.
UserPoolPreTokenGenerationConfig, UserPoolPreTokenGenerationConfigArgs
- Lambda
Arn string The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the
PreTokenGeneration
property ofLambdaConfig
have the same value. For new instances of pre token generation triggers, setLambdaArn
.- Lambda
Version string - The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
- Lambda
Arn string The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the
PreTokenGeneration
property ofLambdaConfig
have the same value. For new instances of pre token generation triggers, setLambdaArn
.- Lambda
Version string - The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
- lambda
Arn String The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the
PreTokenGeneration
property ofLambdaConfig
have the same value. For new instances of pre token generation triggers, setLambdaArn
.- lambda
Version String - The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
- lambda
Arn string The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the
PreTokenGeneration
property ofLambdaConfig
have the same value. For new instances of pre token generation triggers, setLambdaArn
.- lambda
Version string - The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
- lambda_
arn str The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the
PreTokenGeneration
property ofLambdaConfig
have the same value. For new instances of pre token generation triggers, setLambdaArn
.- lambda_
version str - The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
- lambda
Arn String The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the
PreTokenGeneration
property ofLambdaConfig
have the same value. For new instances of pre token generation triggers, setLambdaArn
.- lambda
Version String - The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
UserPoolRecoveryOption, UserPoolRecoveryOptionArgs
UserPoolSchemaAttribute, UserPoolSchemaAttributeArgs
- Attribute
Data stringType - The data format of the values for your attribute. When you choose an
AttributeDataType
, Amazon Cognito validates the input against the data type. A custom attribute value in your user's ID token is always a string, for example"custom:isMember" : "true"
or"custom:YearsAsMember" : "12"
. - Developer
Only boolAttribute We recommend that you use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using
DeveloperOnlyAttribute
.Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users will not be able to modify this attribute using their access token.
- Mutable bool
Specifies whether the value of the attribute can be changed.
Any user pool attribute whose value you map from an IdP attribute must be mutable, with a parameter value of
true
. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool .- Name string
- The name of your user pool attribute. When you create or update a user pool, adding a schema attribute creates a custom or developer-only attribute. When you add an attribute with a
Name
value ofMyAttribute
, Amazon Cognito creates the custom attributecustom:MyAttribute
. WhenDeveloperOnlyAttribute
istrue
, Amazon Cognito creates your attribute asdev:MyAttribute
. In an operation that describes a user pool, Amazon Cognito returns this value asvalue
for standard attributes,custom:value
for custom attributes, anddev:value
for developer-only attributes.. - Number
Attribute Pulumi.Constraints Aws Native. Cognito. Inputs. User Pool Number Attribute Constraints - Specifies the constraints for an attribute of the number type.
- Required bool
- Specifies whether a user pool attribute is required. If the attribute is required and the user doesn't provide a value, registration or sign-in will fail.
- String
Attribute Pulumi.Constraints Aws Native. Cognito. Inputs. User Pool String Attribute Constraints - Specifies the constraints for an attribute of the string type.
- Attribute
Data stringType - The data format of the values for your attribute. When you choose an
AttributeDataType
, Amazon Cognito validates the input against the data type. A custom attribute value in your user's ID token is always a string, for example"custom:isMember" : "true"
or"custom:YearsAsMember" : "12"
. - Developer
Only boolAttribute We recommend that you use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using
DeveloperOnlyAttribute
.Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users will not be able to modify this attribute using their access token.
- Mutable bool
Specifies whether the value of the attribute can be changed.
Any user pool attribute whose value you map from an IdP attribute must be mutable, with a parameter value of
true
. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool .- Name string
- The name of your user pool attribute. When you create or update a user pool, adding a schema attribute creates a custom or developer-only attribute. When you add an attribute with a
Name
value ofMyAttribute
, Amazon Cognito creates the custom attributecustom:MyAttribute
. WhenDeveloperOnlyAttribute
istrue
, Amazon Cognito creates your attribute asdev:MyAttribute
. In an operation that describes a user pool, Amazon Cognito returns this value asvalue
for standard attributes,custom:value
for custom attributes, anddev:value
for developer-only attributes.. - Number
Attribute UserConstraints Pool Number Attribute Constraints - Specifies the constraints for an attribute of the number type.
- Required bool
- Specifies whether a user pool attribute is required. If the attribute is required and the user doesn't provide a value, registration or sign-in will fail.
- String
Attribute UserConstraints Pool String Attribute Constraints - Specifies the constraints for an attribute of the string type.
- attribute
Data StringType - The data format of the values for your attribute. When you choose an
AttributeDataType
, Amazon Cognito validates the input against the data type. A custom attribute value in your user's ID token is always a string, for example"custom:isMember" : "true"
or"custom:YearsAsMember" : "12"
. - developer
Only BooleanAttribute We recommend that you use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using
DeveloperOnlyAttribute
.Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users will not be able to modify this attribute using their access token.
- mutable Boolean
Specifies whether the value of the attribute can be changed.
Any user pool attribute whose value you map from an IdP attribute must be mutable, with a parameter value of
true
. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool .- name String
- The name of your user pool attribute. When you create or update a user pool, adding a schema attribute creates a custom or developer-only attribute. When you add an attribute with a
Name
value ofMyAttribute
, Amazon Cognito creates the custom attributecustom:MyAttribute
. WhenDeveloperOnlyAttribute
istrue
, Amazon Cognito creates your attribute asdev:MyAttribute
. In an operation that describes a user pool, Amazon Cognito returns this value asvalue
for standard attributes,custom:value
for custom attributes, anddev:value
for developer-only attributes.. - number
Attribute UserConstraints Pool Number Attribute Constraints - Specifies the constraints for an attribute of the number type.
- required Boolean
- Specifies whether a user pool attribute is required. If the attribute is required and the user doesn't provide a value, registration or sign-in will fail.
- string
Attribute UserConstraints Pool String Attribute Constraints - Specifies the constraints for an attribute of the string type.
- attribute
Data stringType - The data format of the values for your attribute. When you choose an
AttributeDataType
, Amazon Cognito validates the input against the data type. A custom attribute value in your user's ID token is always a string, for example"custom:isMember" : "true"
or"custom:YearsAsMember" : "12"
. - developer
Only booleanAttribute We recommend that you use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using
DeveloperOnlyAttribute
.Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users will not be able to modify this attribute using their access token.
- mutable boolean
Specifies whether the value of the attribute can be changed.
Any user pool attribute whose value you map from an IdP attribute must be mutable, with a parameter value of
true
. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool .- name string
- The name of your user pool attribute. When you create or update a user pool, adding a schema attribute creates a custom or developer-only attribute. When you add an attribute with a
Name
value ofMyAttribute
, Amazon Cognito creates the custom attributecustom:MyAttribute
. WhenDeveloperOnlyAttribute
istrue
, Amazon Cognito creates your attribute asdev:MyAttribute
. In an operation that describes a user pool, Amazon Cognito returns this value asvalue
for standard attributes,custom:value
for custom attributes, anddev:value
for developer-only attributes.. - number
Attribute UserConstraints Pool Number Attribute Constraints - Specifies the constraints for an attribute of the number type.
- required boolean
- Specifies whether a user pool attribute is required. If the attribute is required and the user doesn't provide a value, registration or sign-in will fail.
- string
Attribute UserConstraints Pool String Attribute Constraints - Specifies the constraints for an attribute of the string type.
- attribute_
data_ strtype - The data format of the values for your attribute. When you choose an
AttributeDataType
, Amazon Cognito validates the input against the data type. A custom attribute value in your user's ID token is always a string, for example"custom:isMember" : "true"
or"custom:YearsAsMember" : "12"
. - developer_
only_ boolattribute We recommend that you use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using
DeveloperOnlyAttribute
.Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users will not be able to modify this attribute using their access token.
- mutable bool
Specifies whether the value of the attribute can be changed.
Any user pool attribute whose value you map from an IdP attribute must be mutable, with a parameter value of
true
. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool .- name str
- The name of your user pool attribute. When you create or update a user pool, adding a schema attribute creates a custom or developer-only attribute. When you add an attribute with a
Name
value ofMyAttribute
, Amazon Cognito creates the custom attributecustom:MyAttribute
. WhenDeveloperOnlyAttribute
istrue
, Amazon Cognito creates your attribute asdev:MyAttribute
. In an operation that describes a user pool, Amazon Cognito returns this value asvalue
for standard attributes,custom:value
for custom attributes, anddev:value
for developer-only attributes.. - number_
attribute_ Userconstraints Pool Number Attribute Constraints - Specifies the constraints for an attribute of the number type.
- required bool
- Specifies whether a user pool attribute is required. If the attribute is required and the user doesn't provide a value, registration or sign-in will fail.
- string_
attribute_ Userconstraints Pool String Attribute Constraints - Specifies the constraints for an attribute of the string type.
- attribute
Data StringType - The data format of the values for your attribute. When you choose an
AttributeDataType
, Amazon Cognito validates the input against the data type. A custom attribute value in your user's ID token is always a string, for example"custom:isMember" : "true"
or"custom:YearsAsMember" : "12"
. - developer
Only BooleanAttribute We recommend that you use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using
DeveloperOnlyAttribute
.Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users will not be able to modify this attribute using their access token.
- mutable Boolean
Specifies whether the value of the attribute can be changed.
Any user pool attribute whose value you map from an IdP attribute must be mutable, with a parameter value of
true
. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool .- name String
- The name of your user pool attribute. When you create or update a user pool, adding a schema attribute creates a custom or developer-only attribute. When you add an attribute with a
Name
value ofMyAttribute
, Amazon Cognito creates the custom attributecustom:MyAttribute
. WhenDeveloperOnlyAttribute
istrue
, Amazon Cognito creates your attribute asdev:MyAttribute
. In an operation that describes a user pool, Amazon Cognito returns this value asvalue
for standard attributes,custom:value
for custom attributes, anddev:value
for developer-only attributes.. - number
Attribute Property MapConstraints - Specifies the constraints for an attribute of the number type.
- required Boolean
- Specifies whether a user pool attribute is required. If the attribute is required and the user doesn't provide a value, registration or sign-in will fail.
- string
Attribute Property MapConstraints - Specifies the constraints for an attribute of the string type.
UserPoolSmsConfiguration, UserPoolSmsConfigurationArgs
- External
Id string - The external ID is a value. We recommend you use
ExternalId
to add security to your IAM role, which is used to call Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, the Cognito User Pool uses it when attempting to assume your IAM role. You can also set your roles trust policy to require theExternalID
. If you use the Cognito Management Console to create a role for SMS MFA, Cognito creates a role with the required permissions and a trust policy that usesExternalId
. - Sns
Caller stringArn - The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your AWS account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit .
- Sns
Region string The AWS Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a supported Legacy Amazon SNS alternate Region .
Amazon Cognito resources in the Asia Pacific (Seoul) AWS Region must use your Amazon SNS configuration in the Asia Pacific (Tokyo) Region. For more information, see SMS message settings for Amazon Cognito user pools .
- External
Id string - The external ID is a value. We recommend you use
ExternalId
to add security to your IAM role, which is used to call Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, the Cognito User Pool uses it when attempting to assume your IAM role. You can also set your roles trust policy to require theExternalID
. If you use the Cognito Management Console to create a role for SMS MFA, Cognito creates a role with the required permissions and a trust policy that usesExternalId
. - Sns
Caller stringArn - The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your AWS account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit .
- Sns
Region string The AWS Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a supported Legacy Amazon SNS alternate Region .
Amazon Cognito resources in the Asia Pacific (Seoul) AWS Region must use your Amazon SNS configuration in the Asia Pacific (Tokyo) Region. For more information, see SMS message settings for Amazon Cognito user pools .
- external
Id String - The external ID is a value. We recommend you use
ExternalId
to add security to your IAM role, which is used to call Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, the Cognito User Pool uses it when attempting to assume your IAM role. You can also set your roles trust policy to require theExternalID
. If you use the Cognito Management Console to create a role for SMS MFA, Cognito creates a role with the required permissions and a trust policy that usesExternalId
. - sns
Caller StringArn - The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your AWS account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit .
- sns
Region String The AWS Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a supported Legacy Amazon SNS alternate Region .
Amazon Cognito resources in the Asia Pacific (Seoul) AWS Region must use your Amazon SNS configuration in the Asia Pacific (Tokyo) Region. For more information, see SMS message settings for Amazon Cognito user pools .
- external
Id string - The external ID is a value. We recommend you use
ExternalId
to add security to your IAM role, which is used to call Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, the Cognito User Pool uses it when attempting to assume your IAM role. You can also set your roles trust policy to require theExternalID
. If you use the Cognito Management Console to create a role for SMS MFA, Cognito creates a role with the required permissions and a trust policy that usesExternalId
. - sns
Caller stringArn - The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your AWS account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit .
- sns
Region string The AWS Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a supported Legacy Amazon SNS alternate Region .
Amazon Cognito resources in the Asia Pacific (Seoul) AWS Region must use your Amazon SNS configuration in the Asia Pacific (Tokyo) Region. For more information, see SMS message settings for Amazon Cognito user pools .
- external_
id str - The external ID is a value. We recommend you use
ExternalId
to add security to your IAM role, which is used to call Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, the Cognito User Pool uses it when attempting to assume your IAM role. You can also set your roles trust policy to require theExternalID
. If you use the Cognito Management Console to create a role for SMS MFA, Cognito creates a role with the required permissions and a trust policy that usesExternalId
. - sns_
caller_ strarn - The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your AWS account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit .
- sns_
region str The AWS Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a supported Legacy Amazon SNS alternate Region .
Amazon Cognito resources in the Asia Pacific (Seoul) AWS Region must use your Amazon SNS configuration in the Asia Pacific (Tokyo) Region. For more information, see SMS message settings for Amazon Cognito user pools .
- external
Id String - The external ID is a value. We recommend you use
ExternalId
to add security to your IAM role, which is used to call Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, the Cognito User Pool uses it when attempting to assume your IAM role. You can also set your roles trust policy to require theExternalID
. If you use the Cognito Management Console to create a role for SMS MFA, Cognito creates a role with the required permissions and a trust policy that usesExternalId
. - sns
Caller StringArn - The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your AWS account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit .
- sns
Region String The AWS Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a supported Legacy Amazon SNS alternate Region .
Amazon Cognito resources in the Asia Pacific (Seoul) AWS Region must use your Amazon SNS configuration in the Asia Pacific (Tokyo) Region. For more information, see SMS message settings for Amazon Cognito user pools .
UserPoolStringAttributeConstraints, UserPoolStringAttributeConstraintsArgs
- max_
length str - The maximum length of a string attribute value. Must be a number less than or equal to
2^1023
, represented as a string with a length of 131072 characters or fewer. - min_
length str - The minimum length.
UserPoolUserAttributeUpdateSettings, UserPoolUserAttributeUpdateSettingsArgs
- Attributes
Require List<string>Verification Before Update Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the AdminUpdateUserAttributes API and set
email_verified
orphone_number_verified
to true.When
AttributesRequireVerificationBeforeUpdate
is false, your user pool doesn't require that your users verify attribute changes before Amazon Cognito updates them. In a user pool whereAttributesRequireVerificationBeforeUpdate
is false, API operations that change attribute values can immediately update a user’semail
orphone_number
attribute.
- Attributes
Require []stringVerification Before Update Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the AdminUpdateUserAttributes API and set
email_verified
orphone_number_verified
to true.When
AttributesRequireVerificationBeforeUpdate
is false, your user pool doesn't require that your users verify attribute changes before Amazon Cognito updates them. In a user pool whereAttributesRequireVerificationBeforeUpdate
is false, API operations that change attribute values can immediately update a user’semail
orphone_number
attribute.
- attributes
Require List<String>Verification Before Update Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the AdminUpdateUserAttributes API and set
email_verified
orphone_number_verified
to true.When
AttributesRequireVerificationBeforeUpdate
is false, your user pool doesn't require that your users verify attribute changes before Amazon Cognito updates them. In a user pool whereAttributesRequireVerificationBeforeUpdate
is false, API operations that change attribute values can immediately update a user’semail
orphone_number
attribute.
- attributes
Require string[]Verification Before Update Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the AdminUpdateUserAttributes API and set
email_verified
orphone_number_verified
to true.When
AttributesRequireVerificationBeforeUpdate
is false, your user pool doesn't require that your users verify attribute changes before Amazon Cognito updates them. In a user pool whereAttributesRequireVerificationBeforeUpdate
is false, API operations that change attribute values can immediately update a user’semail
orphone_number
attribute.
- attributes_
require_ Sequence[str]verification_ before_ update Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the AdminUpdateUserAttributes API and set
email_verified
orphone_number_verified
to true.When
AttributesRequireVerificationBeforeUpdate
is false, your user pool doesn't require that your users verify attribute changes before Amazon Cognito updates them. In a user pool whereAttributesRequireVerificationBeforeUpdate
is false, API operations that change attribute values can immediately update a user’semail
orphone_number
attribute.
- attributes
Require List<String>Verification Before Update Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the AdminUpdateUserAttributes API and set
email_verified
orphone_number_verified
to true.When
AttributesRequireVerificationBeforeUpdate
is false, your user pool doesn't require that your users verify attribute changes before Amazon Cognito updates them. In a user pool whereAttributesRequireVerificationBeforeUpdate
is false, API operations that change attribute values can immediately update a user’semail
orphone_number
attribute.
UserPoolUsernameConfiguration, UserPoolUsernameConfigurationArgs
- Case
Sensitive bool Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon Cognito APIs. For most use cases, set case sensitivity to
False
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name.Valid values include:
- True - Enables case sensitivity for all username input. When this option is set to
True
, users must sign in using the exact capitalization of their given username, such as "UserName". This is the default value. - False - Enables case insensitivity for all username input. For example, when this option is set to
False
, users can sign in usingusername
,USERNAME
, orUserName
. This option also enables bothpreferred_username
andemail
alias to be case insensitive, in addition to theusername
attribute.
- True - Enables case sensitivity for all username input. When this option is set to
- Case
Sensitive bool Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon Cognito APIs. For most use cases, set case sensitivity to
False
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name.Valid values include:
- True - Enables case sensitivity for all username input. When this option is set to
True
, users must sign in using the exact capitalization of their given username, such as "UserName". This is the default value. - False - Enables case insensitivity for all username input. For example, when this option is set to
False
, users can sign in usingusername
,USERNAME
, orUserName
. This option also enables bothpreferred_username
andemail
alias to be case insensitive, in addition to theusername
attribute.
- True - Enables case sensitivity for all username input. When this option is set to
- case
Sensitive Boolean Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon Cognito APIs. For most use cases, set case sensitivity to
False
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name.Valid values include:
- True - Enables case sensitivity for all username input. When this option is set to
True
, users must sign in using the exact capitalization of their given username, such as "UserName". This is the default value. - False - Enables case insensitivity for all username input. For example, when this option is set to
False
, users can sign in usingusername
,USERNAME
, orUserName
. This option also enables bothpreferred_username
andemail
alias to be case insensitive, in addition to theusername
attribute.
- True - Enables case sensitivity for all username input. When this option is set to
- case
Sensitive boolean Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon Cognito APIs. For most use cases, set case sensitivity to
False
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name.Valid values include:
- True - Enables case sensitivity for all username input. When this option is set to
True
, users must sign in using the exact capitalization of their given username, such as "UserName". This is the default value. - False - Enables case insensitivity for all username input. For example, when this option is set to
False
, users can sign in usingusername
,USERNAME
, orUserName
. This option also enables bothpreferred_username
andemail
alias to be case insensitive, in addition to theusername
attribute.
- True - Enables case sensitivity for all username input. When this option is set to
- case_
sensitive bool Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon Cognito APIs. For most use cases, set case sensitivity to
False
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name.Valid values include:
- True - Enables case sensitivity for all username input. When this option is set to
True
, users must sign in using the exact capitalization of their given username, such as "UserName". This is the default value. - False - Enables case insensitivity for all username input. For example, when this option is set to
False
, users can sign in usingusername
,USERNAME
, orUserName
. This option also enables bothpreferred_username
andemail
alias to be case insensitive, in addition to theusername
attribute.
- True - Enables case sensitivity for all username input. When this option is set to
- case
Sensitive Boolean Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon Cognito APIs. For most use cases, set case sensitivity to
False
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name.Valid values include:
- True - Enables case sensitivity for all username input. When this option is set to
True
, users must sign in using the exact capitalization of their given username, such as "UserName". This is the default value. - False - Enables case insensitivity for all username input. For example, when this option is set to
False
, users can sign in usingusername
,USERNAME
, orUserName
. This option also enables bothpreferred_username
andemail
alias to be case insensitive, in addition to theusername
attribute.
- True - Enables case sensitivity for all username input. When this option is set to
UserPoolVerificationMessageTemplate, UserPoolVerificationMessageTemplateArgs
- Default
Email stringOption - The default email option.
- Email
Message string - The template for email messages that Amazon Cognito sends to your users. You can set an
EmailMessage
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - Email
Message stringBy Link - The email message template for sending a confirmation link to the user. You can set an
EmailMessageByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - Email
Subject string - The subject line for the email message template. You can set an
EmailSubject
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - Email
Subject stringBy Link - The subject line for the email message template for sending a confirmation link to the user. You can set an
EmailSubjectByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - Sms
Message string - The template for SMS messages that Amazon Cognito sends to your users.
- Default
Email stringOption - The default email option.
- Email
Message string - The template for email messages that Amazon Cognito sends to your users. You can set an
EmailMessage
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - Email
Message stringBy Link - The email message template for sending a confirmation link to the user. You can set an
EmailMessageByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - Email
Subject string - The subject line for the email message template. You can set an
EmailSubject
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - Email
Subject stringBy Link - The subject line for the email message template for sending a confirmation link to the user. You can set an
EmailSubjectByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - Sms
Message string - The template for SMS messages that Amazon Cognito sends to your users.
- default
Email StringOption - The default email option.
- email
Message String - The template for email messages that Amazon Cognito sends to your users. You can set an
EmailMessage
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email
Message StringBy Link - The email message template for sending a confirmation link to the user. You can set an
EmailMessageByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email
Subject String - The subject line for the email message template. You can set an
EmailSubject
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email
Subject StringBy Link - The subject line for the email message template for sending a confirmation link to the user. You can set an
EmailSubjectByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - sms
Message String - The template for SMS messages that Amazon Cognito sends to your users.
- default
Email stringOption - The default email option.
- email
Message string - The template for email messages that Amazon Cognito sends to your users. You can set an
EmailMessage
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email
Message stringBy Link - The email message template for sending a confirmation link to the user. You can set an
EmailMessageByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email
Subject string - The subject line for the email message template. You can set an
EmailSubject
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email
Subject stringBy Link - The subject line for the email message template for sending a confirmation link to the user. You can set an
EmailSubjectByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - sms
Message string - The template for SMS messages that Amazon Cognito sends to your users.
- default_
email_ stroption - The default email option.
- email_
message str - The template for email messages that Amazon Cognito sends to your users. You can set an
EmailMessage
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email_
message_ strby_ link - The email message template for sending a confirmation link to the user. You can set an
EmailMessageByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email_
subject str - The subject line for the email message template. You can set an
EmailSubject
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email_
subject_ strby_ link - The subject line for the email message template for sending a confirmation link to the user. You can set an
EmailSubjectByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - sms_
message str - The template for SMS messages that Amazon Cognito sends to your users.
- default
Email StringOption - The default email option.
- email
Message String - The template for email messages that Amazon Cognito sends to your users. You can set an
EmailMessage
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email
Message StringBy Link - The email message template for sending a confirmation link to the user. You can set an
EmailMessageByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email
Subject String - The subject line for the email message template. You can set an
EmailSubject
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - email
Subject StringBy Link - The subject line for the email message template for sending a confirmation link to the user. You can set an
EmailSubjectByLink
template only if the value of EmailSendingAccount isDEVELOPER
. When your EmailSendingAccount isDEVELOPER
, your user pool sends email messages with your own Amazon SES configuration. - sms
Message String - The template for SMS messages that Amazon Cognito sends to your users.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.