We recommend new projects start with resources from the AWS provider.
aws-native.cognito.getUserPool
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::Cognito::UserPool Resource Type
Using getUserPool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUserPool(args: GetUserPoolArgs, opts?: InvokeOptions): Promise<GetUserPoolResult>
function getUserPoolOutput(args: GetUserPoolOutputArgs, opts?: InvokeOptions): Output<GetUserPoolResult>
def get_user_pool(user_pool_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserPoolResult
def get_user_pool_output(user_pool_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserPoolResult]
func LookupUserPool(ctx *Context, args *LookupUserPoolArgs, opts ...InvokeOption) (*LookupUserPoolResult, error)
func LookupUserPoolOutput(ctx *Context, args *LookupUserPoolOutputArgs, opts ...InvokeOption) LookupUserPoolResultOutput
> Note: This function is named LookupUserPool
in the Go SDK.
public static class GetUserPool
{
public static Task<GetUserPoolResult> InvokeAsync(GetUserPoolArgs args, InvokeOptions? opts = null)
public static Output<GetUserPoolResult> Invoke(GetUserPoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserPoolResult> getUserPool(GetUserPoolArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cognito:getUserPool
arguments:
# arguments dictionary
The following arguments are supported:
- User
Pool stringId - The ID of the user pool.
- User
Pool stringId - The ID of the user pool.
- user
Pool StringId - The ID of the user pool.
- user
Pool stringId - The ID of the user pool.
- user_
pool_ strid - The ID of the user pool.
- user
Pool StringId - The ID of the user pool.
getUserPool Result
The following output properties are available:
- Account
Recovery Pulumi.Setting Aws Native. Cognito. Outputs. User Pool Account Recovery Setting - The available verified method a user can use to recover their password when they call
ForgotPassword
. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email. - Admin
Create Pulumi.User Config Aws Native. Cognito. Outputs. User Pool Admin Create User Config The settings for administrator creation of users in a user pool. Contains settings for allowing user sign-up, customizing invitation messages to new users, and the amount of time before temporary passwords expire.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- Alias
Attributes List<string> - Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
- 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
. - 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. Outputs. 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
Authentication stringMessage - Email
Authentication stringSubject - Email
Configuration Pulumi.Aws Native. Cognito. Outputs. 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 .
- Lambda
Config Pulumi.Aws Native. Cognito. Outputs. User Pool Lambda Config - A collection of user pool Lambda triggers. Amazon Cognito invokes triggers at several possible stages of authentication operations. Triggers can modify the outcome of the operations that invoked them.
- 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. Outputs. User Pool Policies A list of user pool policies. Contains the policy that sets password-complexity requirements.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- Provider
Name string - A friendly name for the IdP.
- Provider
Url string - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - Schema
List<Pulumi.
Aws Native. Cognito. Outputs. User Pool Schema Attribute> - An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
- Sms
Authentication stringMessage - The contents of the SMS authentication message.
- Sms
Configuration Pulumi.Aws Native. Cognito. Outputs. 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. Outputs. 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. Outputs. 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 stringId - The ID of the 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> - Specifies whether a user can use an email address or phone number as a username when they sign up.
- Username
Configuration Pulumi.Aws Native. Cognito. Outputs. User Pool Username Configuration Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase letters. For example,username
,USERNAME
, orUserName
, or for email,email@example.com
orEMaiL@eXamplE.Com
. For most use cases, set case sensitivity toFalse
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, Amazon Cognito treats any variation in case as the same user, and prevents a case variation from being assigned to the same attribute for a different user.This configuration is immutable after you set it. For more information, see UsernameConfigurationType .
- Verification
Message Pulumi.Template Aws Native. Cognito. Outputs. User Pool Verification Message Template The template for the verification message that your user pool delivers to users who set an email address or phone number attribute.
Set the email message type that corresponds to your
DefaultEmailOption
selection. ForCONFIRM_WITH_LINK
, specify anEmailMessageByLink
and leaveEmailMessage
blank. ForCONFIRM_WITH_CODE
, specify anEmailMessage
and leaveEmailMessageByLink
blank. When you supply both parameters with either choice, Amazon Cognito returns an error.
- Account
Recovery UserSetting Pool Account Recovery Setting - The available verified method a user can use to recover their password when they call
ForgotPassword
. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email. - Admin
Create UserUser Config Pool Admin Create User Config The settings for administrator creation of users in a user pool. Contains settings for allowing user sign-up, customizing invitation messages to new users, and the amount of time before temporary passwords expire.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- Alias
Attributes []string - Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
- 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
. - 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 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
Authentication stringMessage - Email
Authentication stringSubject - 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 .
- Lambda
Config UserPool Lambda Config - A collection of user pool Lambda triggers. Amazon Cognito invokes triggers at several possible stages of authentication operations. Triggers can modify the outcome of the operations that invoked them.
- 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 A list of user pool policies. Contains the policy that sets password-complexity requirements.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- Provider
Name string - A friendly name for the IdP.
- Provider
Url string - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - Schema
[]User
Pool Schema Attribute - An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
- Sms
Authentication stringMessage - The contents of 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 stringId - The ID of the 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 - Specifies whether a user can use an email address or phone number as a username when they sign up.
- Username
Configuration UserPool Username Configuration Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase letters. For example,username
,USERNAME
, orUserName
, or for email,email@example.com
orEMaiL@eXamplE.Com
. For most use cases, set case sensitivity toFalse
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, Amazon Cognito treats any variation in case as the same user, and prevents a case variation from being assigned to the same attribute for a different user.This configuration is immutable after you set it. For more information, see UsernameConfigurationType .
- Verification
Message UserTemplate Pool Verification Message Template The template for the verification message that your user pool delivers to users who set an email address or phone number attribute.
Set the email message type that corresponds to your
DefaultEmailOption
selection. ForCONFIRM_WITH_LINK
, specify anEmailMessageByLink
and leaveEmailMessage
blank. ForCONFIRM_WITH_CODE
, specify anEmailMessage
and leaveEmailMessageByLink
blank. When you supply both parameters with either choice, Amazon Cognito returns an error.
- account
Recovery UserSetting Pool Account Recovery Setting - The available verified method a user can use to recover their password when they call
ForgotPassword
. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email. - admin
Create UserUser Config Pool Admin Create User Config The settings for administrator creation of users in a user pool. Contains settings for allowing user sign-up, customizing invitation messages to new users, and the amount of time before temporary passwords expire.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- alias
Attributes List<String> - Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
- 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
. - 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
Authentication StringMessage - email
Authentication StringSubject - 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 .
- lambda
Config UserPool Lambda Config - A collection of user pool Lambda triggers. Amazon Cognito invokes triggers at several possible stages of authentication operations. Triggers can modify the outcome of the operations that invoked them.
- 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 A list of user pool policies. Contains the policy that sets password-complexity requirements.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- provider
Name String - A friendly name for the IdP.
- provider
Url String - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - schema
List<User
Pool Schema Attribute> - An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
- sms
Authentication StringMessage - The contents of 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 StringId - The ID of the 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> - Specifies whether a user can use an email address or phone number as a username when they sign up.
- username
Configuration UserPool Username Configuration Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase letters. For example,username
,USERNAME
, orUserName
, or for email,email@example.com
orEMaiL@eXamplE.Com
. For most use cases, set case sensitivity toFalse
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, Amazon Cognito treats any variation in case as the same user, and prevents a case variation from being assigned to the same attribute for a different user.This configuration is immutable after you set it. For more information, see UsernameConfigurationType .
- verification
Message UserTemplate Pool Verification Message Template The template for the verification message that your user pool delivers to users who set an email address or phone number attribute.
Set the email message type that corresponds to your
DefaultEmailOption
selection. ForCONFIRM_WITH_LINK
, specify anEmailMessageByLink
and leaveEmailMessage
blank. ForCONFIRM_WITH_CODE
, specify anEmailMessage
and leaveEmailMessageByLink
blank. When you supply both parameters with either choice, Amazon Cognito returns an error.
- account
Recovery UserSetting Pool Account Recovery Setting - The available verified method a user can use to recover their password when they call
ForgotPassword
. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email. - admin
Create UserUser Config Pool Admin Create User Config The settings for administrator creation of users in a user pool. Contains settings for allowing user sign-up, customizing invitation messages to new users, and the amount of time before temporary passwords expire.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- alias
Attributes string[] - Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
- 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
. - 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
Authentication stringMessage - email
Authentication stringSubject - 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 .
- lambda
Config UserPool Lambda Config - A collection of user pool Lambda triggers. Amazon Cognito invokes triggers at several possible stages of authentication operations. Triggers can modify the outcome of the operations that invoked them.
- 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 A list of user pool policies. Contains the policy that sets password-complexity requirements.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- provider
Name string - A friendly name for the IdP.
- provider
Url string - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - schema
User
Pool Schema Attribute[] - An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
- sms
Authentication stringMessage - The contents of 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 stringId - The ID of the 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[] - Specifies whether a user can use an email address or phone number as a username when they sign up.
- username
Configuration UserPool Username Configuration Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase letters. For example,username
,USERNAME
, orUserName
, or for email,email@example.com
orEMaiL@eXamplE.Com
. For most use cases, set case sensitivity toFalse
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, Amazon Cognito treats any variation in case as the same user, and prevents a case variation from being assigned to the same attribute for a different user.This configuration is immutable after you set it. For more information, see UsernameConfigurationType .
- verification
Message UserTemplate Pool Verification Message Template The template for the verification message that your user pool delivers to users who set an email address or phone number attribute.
Set the email message type that corresponds to your
DefaultEmailOption
selection. ForCONFIRM_WITH_LINK
, specify anEmailMessageByLink
and leaveEmailMessage
blank. ForCONFIRM_WITH_CODE
, specify anEmailMessage
and leaveEmailMessageByLink
blank. When you supply both parameters with either choice, Amazon Cognito returns an error.
- account_
recovery_ Usersetting Pool Account Recovery Setting - The available verified method a user can use to recover their password when they call
ForgotPassword
. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email. - admin_
create_ Useruser_ config Pool Admin Create User Config The settings for administrator creation of users in a user pool. Contains settings for allowing user sign-up, customizing invitation messages to new users, and the amount of time before temporary passwords expire.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- alias_
attributes Sequence[str] - Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
- 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
. - 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 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_
authentication_ strmessage - email_
authentication_ strsubject - 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_ strmessage - This parameter is no longer used. See VerificationMessageTemplateType .
- email_
verification_ strsubject - This parameter is no longer used. See VerificationMessageTemplateType .
- lambda_
config UserPool Lambda Config - A collection of user pool Lambda triggers. Amazon Cognito invokes triggers at several possible stages of authentication operations. Triggers can modify the outcome of the operations that invoked them.
- 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 A list of user pool policies. Contains the policy that sets password-complexity requirements.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- provider_
name str - A friendly name for the IdP.
- provider_
url str - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - schema
Sequence[User
Pool Schema Attribute] - An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
- sms_
authentication_ strmessage - The contents of 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_ strmessage - 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_ strid - The ID of the 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] - Specifies whether a user can use an email address or phone number as a username when they sign up.
- username_
configuration UserPool Username Configuration Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase letters. For example,username
,USERNAME
, orUserName
, or for email,email@example.com
orEMaiL@eXamplE.Com
. For most use cases, set case sensitivity toFalse
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, Amazon Cognito treats any variation in case as the same user, and prevents a case variation from being assigned to the same attribute for a different user.This configuration is immutable after you set it. For more information, see UsernameConfigurationType .
- verification_
message_ Usertemplate Pool Verification Message Template The template for the verification message that your user pool delivers to users who set an email address or phone number attribute.
Set the email message type that corresponds to your
DefaultEmailOption
selection. ForCONFIRM_WITH_LINK
, specify anEmailMessageByLink
and leaveEmailMessage
blank. ForCONFIRM_WITH_CODE
, specify anEmailMessage
and leaveEmailMessageByLink
blank. When you supply both parameters with either choice, Amazon Cognito returns an error.
- account
Recovery Property MapSetting - The available verified method a user can use to recover their password when they call
ForgotPassword
. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email. - admin
Create Property MapUser Config The settings for administrator creation of users in a user pool. Contains settings for allowing user sign-up, customizing invitation messages to new users, and the amount of time before temporary passwords expire.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- alias
Attributes List<String> - Attributes supported as an alias for this user pool. Possible values: phone_number , email , or preferred_username .
- 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
. - 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
Authentication StringMessage - email
Authentication StringSubject - 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 .
- lambda
Config Property Map - A collection of user pool Lambda triggers. Amazon Cognito invokes triggers at several possible stages of authentication operations. Triggers can modify the outcome of the operations that invoked them.
- 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
A list of user pool policies. Contains the policy that sets password-complexity requirements.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
- provider
Name String - A friendly name for the IdP.
- provider
Url String - The URL of the provider of the Amazon Cognito user pool, specified as a
String
. - schema List<Property Map>
- An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
- sms
Authentication StringMessage - The contents of 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 StringId - The ID of the 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> - Specifies whether a user can use an email address or phone number as a username when they sign up.
- username
Configuration Property Map Case sensitivity on the username input for the selected sign-in option. When case sensitivity is set to
False
(case insensitive), users can sign in with any combination of capital and lowercase letters. For example,username
,USERNAME
, orUserName
, or for email,email@example.com
orEMaiL@eXamplE.Com
. For most use cases, set case sensitivity toFalse
(case insensitive) as a best practice. When usernames and email addresses are case insensitive, Amazon Cognito treats any variation in case as the same user, and prevents a case variation from being assigned to the same attribute for a different user.This configuration is immutable after you set it. For more information, see UsernameConfigurationType .
- verification
Message Property MapTemplate The template for the verification message that your user pool delivers to users who set an email address or phone number attribute.
Set the email message type that corresponds to your
DefaultEmailOption
selection. ForCONFIRM_WITH_LINK
, specify anEmailMessageByLink
and leaveEmailMessage
blank. ForCONFIRM_WITH_CODE
, specify anEmailMessage
and leaveEmailMessageByLink
blank. When you supply both parameters with either choice, Amazon Cognito returns an error.
Supporting Types
UserPoolAccountRecoverySetting
- Recovery
Mechanisms List<Pulumi.Aws Native. Cognito. Inputs. User Pool Recovery Option> - The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
- Recovery
Mechanisms []UserPool Recovery Option - The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
- recovery
Mechanisms List<UserPool Recovery Option> - The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
- recovery
Mechanisms UserPool Recovery Option[] - The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
- recovery_
mechanisms Sequence[UserPool Recovery Option] - The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
- recovery
Mechanisms List<Property Map> - The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
UserPoolAddOns
- Advanced
Security Pulumi.Additional Flows Aws Native. Cognito. Inputs. User Pool Advanced Security Additional Flows - Advanced
Security stringMode - The operating mode of advanced security features for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.
- Advanced
Security UserAdditional Flows Pool Advanced Security Additional Flows - Advanced
Security stringMode - The operating mode of advanced security features for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.
- advanced
Security UserAdditional Flows Pool Advanced Security Additional Flows - advanced
Security StringMode - The operating mode of advanced security features for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.
- advanced
Security UserAdditional Flows Pool Advanced Security Additional Flows - advanced
Security stringMode - The operating mode of advanced security features for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.
- advanced_
security_ Useradditional_ flows Pool Advanced Security Additional Flows - advanced_
security_ strmode - The operating mode of advanced security features for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.
- advanced
Security Property MapAdditional Flows - advanced
Security StringMode - The operating mode of advanced security features for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.
UserPoolAdminCreateUserConfig
- Allow
Admin boolCreate User Only - The setting for allowing self-service sign-up. When
true
, only administrators can create new user profiles. Whenfalse
, users can register themselves and create a new user profile with the SignUp operation. - Invite
Message Pulumi.Template Aws Native. Cognito. Inputs. User Pool Invite Message Template The template for the welcome message to new users.
See also Customizing User Invitation Messages .
- Unused
Account intValidity Days This parameter is no longer in use. Configure the duration of temporary passwords with the
TemporaryPasswordValidityDays
parameter of PasswordPolicyType . For older user pools that have aUnusedAccountValidityDays
configuration, that value is effective until you set a value forTemporaryPasswordValidityDays
.The password expiration limit in days for administrator-created users. When this time expires, the user can't sign in with their temporary password. To reset the account after that time limit, you must call
AdminCreateUser
again, specifyingRESEND
for theMessageAction
parameter.The default value for this parameter is 7.
- Allow
Admin boolCreate User Only - The setting for allowing self-service sign-up. When
true
, only administrators can create new user profiles. Whenfalse
, users can register themselves and create a new user profile with the SignUp operation. - Invite
Message UserTemplate Pool Invite Message Template The template for the welcome message to new users.
See also Customizing User Invitation Messages .
- Unused
Account intValidity Days This parameter is no longer in use. Configure the duration of temporary passwords with the
TemporaryPasswordValidityDays
parameter of PasswordPolicyType . For older user pools that have aUnusedAccountValidityDays
configuration, that value is effective until you set a value forTemporaryPasswordValidityDays
.The password expiration limit in days for administrator-created users. When this time expires, the user can't sign in with their temporary password. To reset the account after that time limit, you must call
AdminCreateUser
again, specifyingRESEND
for theMessageAction
parameter.The default value for this parameter is 7.
- allow
Admin BooleanCreate User Only - The setting for allowing self-service sign-up. When
true
, only administrators can create new user profiles. Whenfalse
, users can register themselves and create a new user profile with the SignUp operation. - invite
Message UserTemplate Pool Invite Message Template The template for the welcome message to new users.
See also Customizing User Invitation Messages .
- unused
Account IntegerValidity Days This parameter is no longer in use. Configure the duration of temporary passwords with the
TemporaryPasswordValidityDays
parameter of PasswordPolicyType . For older user pools that have aUnusedAccountValidityDays
configuration, that value is effective until you set a value forTemporaryPasswordValidityDays
.The password expiration limit in days for administrator-created users. When this time expires, the user can't sign in with their temporary password. To reset the account after that time limit, you must call
AdminCreateUser
again, specifyingRESEND
for theMessageAction
parameter.The default value for this parameter is 7.
- allow
Admin booleanCreate User Only - The setting for allowing self-service sign-up. When
true
, only administrators can create new user profiles. Whenfalse
, users can register themselves and create a new user profile with the SignUp operation. - invite
Message UserTemplate Pool Invite Message Template The template for the welcome message to new users.
See also Customizing User Invitation Messages .
- unused
Account numberValidity Days This parameter is no longer in use. Configure the duration of temporary passwords with the
TemporaryPasswordValidityDays
parameter of PasswordPolicyType . For older user pools that have aUnusedAccountValidityDays
configuration, that value is effective until you set a value forTemporaryPasswordValidityDays
.The password expiration limit in days for administrator-created users. When this time expires, the user can't sign in with their temporary password. To reset the account after that time limit, you must call
AdminCreateUser
again, specifyingRESEND
for theMessageAction
parameter.The default value for this parameter is 7.
- allow_
admin_ boolcreate_ user_ only - The setting for allowing self-service sign-up. When
true
, only administrators can create new user profiles. Whenfalse
, users can register themselves and create a new user profile with the SignUp operation. - invite_
message_ Usertemplate Pool Invite Message Template The template for the welcome message to new users.
See also Customizing User Invitation Messages .
- unused_
account_ intvalidity_ days This parameter is no longer in use. Configure the duration of temporary passwords with the
TemporaryPasswordValidityDays
parameter of PasswordPolicyType . For older user pools that have aUnusedAccountValidityDays
configuration, that value is effective until you set a value forTemporaryPasswordValidityDays
.The password expiration limit in days for administrator-created users. When this time expires, the user can't sign in with their temporary password. To reset the account after that time limit, you must call
AdminCreateUser
again, specifyingRESEND
for theMessageAction
parameter.The default value for this parameter is 7.
- allow
Admin BooleanCreate User Only - The setting for allowing self-service sign-up. When
true
, only administrators can create new user profiles. Whenfalse
, users can register themselves and create a new user profile with the SignUp operation. - invite
Message Property MapTemplate The template for the welcome message to new users.
See also Customizing User Invitation Messages .
- unused
Account NumberValidity Days This parameter is no longer in use. Configure the duration of temporary passwords with the
TemporaryPasswordValidityDays
parameter of PasswordPolicyType . For older user pools that have aUnusedAccountValidityDays
configuration, that value is effective until you set a value forTemporaryPasswordValidityDays
.The password expiration limit in days for administrator-created users. When this time expires, the user can't sign in with their temporary password. To reset the account after that time limit, you must call
AdminCreateUser
again, specifyingRESEND
for theMessageAction
parameter.The default value for this parameter is 7.
UserPoolAdvancedSecurityAdditionalFlows
- Custom
Auth stringMode
- Custom
Auth stringMode
- custom
Auth StringMode
- custom
Auth stringMode
- custom_
auth_ strmode
- custom
Auth StringMode
UserPoolCustomEmailSender
- Lambda
Arn string - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
- Lambda
Arn string - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
- lambda
Arn String - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
- lambda
Arn string - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
- lambda_
arn str - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
- lambda
Arn String - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
UserPoolCustomSmsSender
- Lambda
Arn string - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
- Lambda
Arn string - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
- lambda
Arn String - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
- lambda
Arn string - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
- lambda_
arn str - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
- lambda
Arn String - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
- 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.
You must use a
LambdaVersion
ofV1_0
with a custom sender function.
UserPoolDeviceConfiguration
- 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
- Configuration
Set string - The set of configuration rules that can be applied to emails sent using Amazon Simple Email Service. 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 Simple Email Service 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 and Amazon CloudWatch
- IP pool management - When leasing dedicated IP addresses with Amazon Simple Email Service, 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
- 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 Simple Email Service. 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 Simple Email Service 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 and Amazon CloudWatch
- IP pool management - When leasing dedicated IP addresses with Amazon Simple Email Service, 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
- 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 Simple Email Service. 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 Simple Email Service 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 and Amazon CloudWatch
- IP pool management - When leasing dedicated IP addresses with Amazon Simple Email Service, 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
- 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 Simple Email Service. 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 Simple Email Service 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 and Amazon CloudWatch
- IP pool management - When leasing dedicated IP addresses with Amazon Simple Email Service, 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
- 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 Simple Email Service. 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 Simple Email Service 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 and Amazon CloudWatch
- IP pool management - When leasing dedicated IP addresses with Amazon Simple Email Service, 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
- 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 Simple Email Service. 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 Simple Email Service 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 and Amazon CloudWatch
- IP pool management - When leasing dedicated IP addresses with Amazon Simple Email Service, 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
- 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
- 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
- Create
Auth stringChallenge - The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- Custom
Email Pulumi.Sender Aws Native. Cognito. Inputs. User Pool Custom Email Sender - The configuration of a custom email sender Lambda trigger. This trigger routes all email notifications from a user pool to a Lambda function that delivers the message using custom logic.
- Custom
Message string - A custom message Lambda trigger. This trigger is an opportunity to customize all SMS and email messages from your user pool. When a custom message trigger is active, your user pool routes all messages to a Lambda function that returns a runtime-customized message subject and body for your user pool to deliver to a user.
- Custom
Sms Pulumi.Sender Aws Native. Cognito. Inputs. User Pool Custom Sms Sender - The configuration of a custom SMS sender Lambda trigger. This trigger routes all SMS notifications from a user pool to a Lambda function that delivers the message using custom logic.
- Define
Auth stringChallenge - The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- Kms
Key stringId - The ARN of an KMS key . Amazon Cognito uses the key to encrypt codes and temporary passwords sent to custom sender Lambda triggers.
- Post
Authentication string - The configuration of a post authentication Lambda trigger in a user pool. This trigger can take custom actions after a user signs in.
- Post
Confirmation string - The configuration of a post confirmation Lambda trigger in a user pool. This trigger can take custom actions after a user confirms their user account and their email address or phone number.
- Pre
Authentication string - The configuration of a pre authentication trigger in a user pool. This trigger can evaluate and modify user sign-in events.
- Pre
Sign stringUp - The configuration of a pre sign-up Lambda trigger in a user pool. This trigger evaluates new users and can bypass confirmation, link a federated user profile , or block sign-up requests.
- Pre
Token stringGeneration The legacy configuration of a pre token generation Lambda trigger in a user pool.
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
.- Pre
Token Pulumi.Generation Config Aws Native. Cognito. Inputs. User Pool Pre Token Generation Config - The detailed configuration of a pre token generation Lambda trigger in a user pool. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - User
Migration string - The configuration of a migrate user Lambda trigger in a user pool. This trigger can create user profiles when users sign in or attempt to reset their password with credentials that don't exist yet.
- Verify
Auth stringChallenge Response - The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- Create
Auth stringChallenge - The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- Custom
Email UserSender Pool Custom Email Sender - The configuration of a custom email sender Lambda trigger. This trigger routes all email notifications from a user pool to a Lambda function that delivers the message using custom logic.
- Custom
Message string - A custom message Lambda trigger. This trigger is an opportunity to customize all SMS and email messages from your user pool. When a custom message trigger is active, your user pool routes all messages to a Lambda function that returns a runtime-customized message subject and body for your user pool to deliver to a user.
- Custom
Sms UserSender Pool Custom Sms Sender - The configuration of a custom SMS sender Lambda trigger. This trigger routes all SMS notifications from a user pool to a Lambda function that delivers the message using custom logic.
- Define
Auth stringChallenge - The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- Kms
Key stringId - The ARN of an KMS key . Amazon Cognito uses the key to encrypt codes and temporary passwords sent to custom sender Lambda triggers.
- Post
Authentication string - The configuration of a post authentication Lambda trigger in a user pool. This trigger can take custom actions after a user signs in.
- Post
Confirmation string - The configuration of a post confirmation Lambda trigger in a user pool. This trigger can take custom actions after a user confirms their user account and their email address or phone number.
- Pre
Authentication string - The configuration of a pre authentication trigger in a user pool. This trigger can evaluate and modify user sign-in events.
- Pre
Sign stringUp - The configuration of a pre sign-up Lambda trigger in a user pool. This trigger evaluates new users and can bypass confirmation, link a federated user profile , or block sign-up requests.
- Pre
Token stringGeneration The legacy configuration of a pre token generation Lambda trigger in a user pool.
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
.- Pre
Token UserGeneration Config Pool Pre Token Generation Config - The detailed configuration of a pre token generation Lambda trigger in a user pool. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - User
Migration string - The configuration of a migrate user Lambda trigger in a user pool. This trigger can create user profiles when users sign in or attempt to reset their password with credentials that don't exist yet.
- Verify
Auth stringChallenge Response - The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- create
Auth StringChallenge - The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- custom
Email UserSender Pool Custom Email Sender - The configuration of a custom email sender Lambda trigger. This trigger routes all email notifications from a user pool to a Lambda function that delivers the message using custom logic.
- custom
Message String - A custom message Lambda trigger. This trigger is an opportunity to customize all SMS and email messages from your user pool. When a custom message trigger is active, your user pool routes all messages to a Lambda function that returns a runtime-customized message subject and body for your user pool to deliver to a user.
- custom
Sms UserSender Pool Custom Sms Sender - The configuration of a custom SMS sender Lambda trigger. This trigger routes all SMS notifications from a user pool to a Lambda function that delivers the message using custom logic.
- define
Auth StringChallenge - The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- kms
Key StringId - The ARN of an KMS key . Amazon Cognito uses the key to encrypt codes and temporary passwords sent to custom sender Lambda triggers.
- post
Authentication String - The configuration of a post authentication Lambda trigger in a user pool. This trigger can take custom actions after a user signs in.
- post
Confirmation String - The configuration of a post confirmation Lambda trigger in a user pool. This trigger can take custom actions after a user confirms their user account and their email address or phone number.
- pre
Authentication String - The configuration of a pre authentication trigger in a user pool. This trigger can evaluate and modify user sign-in events.
- pre
Sign StringUp - The configuration of a pre sign-up Lambda trigger in a user pool. This trigger evaluates new users and can bypass confirmation, link a federated user profile , or block sign-up requests.
- pre
Token StringGeneration The legacy configuration of a pre token generation Lambda trigger in a user pool.
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
.- pre
Token UserGeneration Config Pool Pre Token Generation Config - The detailed configuration of a pre token generation Lambda trigger in a user pool. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - user
Migration String - The configuration of a migrate user Lambda trigger in a user pool. This trigger can create user profiles when users sign in or attempt to reset their password with credentials that don't exist yet.
- verify
Auth StringChallenge Response - The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- create
Auth stringChallenge - The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- custom
Email UserSender Pool Custom Email Sender - The configuration of a custom email sender Lambda trigger. This trigger routes all email notifications from a user pool to a Lambda function that delivers the message using custom logic.
- custom
Message string - A custom message Lambda trigger. This trigger is an opportunity to customize all SMS and email messages from your user pool. When a custom message trigger is active, your user pool routes all messages to a Lambda function that returns a runtime-customized message subject and body for your user pool to deliver to a user.
- custom
Sms UserSender Pool Custom Sms Sender - The configuration of a custom SMS sender Lambda trigger. This trigger routes all SMS notifications from a user pool to a Lambda function that delivers the message using custom logic.
- define
Auth stringChallenge - The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- kms
Key stringId - The ARN of an KMS key . Amazon Cognito uses the key to encrypt codes and temporary passwords sent to custom sender Lambda triggers.
- post
Authentication string - The configuration of a post authentication Lambda trigger in a user pool. This trigger can take custom actions after a user signs in.
- post
Confirmation string - The configuration of a post confirmation Lambda trigger in a user pool. This trigger can take custom actions after a user confirms their user account and their email address or phone number.
- pre
Authentication string - The configuration of a pre authentication trigger in a user pool. This trigger can evaluate and modify user sign-in events.
- pre
Sign stringUp - The configuration of a pre sign-up Lambda trigger in a user pool. This trigger evaluates new users and can bypass confirmation, link a federated user profile , or block sign-up requests.
- pre
Token stringGeneration The legacy configuration of a pre token generation Lambda trigger in a user pool.
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
.- pre
Token UserGeneration Config Pool Pre Token Generation Config - The detailed configuration of a pre token generation Lambda trigger in a user pool. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - user
Migration string - The configuration of a migrate user Lambda trigger in a user pool. This trigger can create user profiles when users sign in or attempt to reset their password with credentials that don't exist yet.
- verify
Auth stringChallenge Response - The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- create_
auth_ strchallenge - The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- custom_
email_ Usersender Pool Custom Email Sender - The configuration of a custom email sender Lambda trigger. This trigger routes all email notifications from a user pool to a Lambda function that delivers the message using custom logic.
- custom_
message str - A custom message Lambda trigger. This trigger is an opportunity to customize all SMS and email messages from your user pool. When a custom message trigger is active, your user pool routes all messages to a Lambda function that returns a runtime-customized message subject and body for your user pool to deliver to a user.
- custom_
sms_ Usersender Pool Custom Sms Sender - The configuration of a custom SMS sender Lambda trigger. This trigger routes all SMS notifications from a user pool to a Lambda function that delivers the message using custom logic.
- define_
auth_ strchallenge - The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- kms_
key_ strid - The ARN of an KMS key . Amazon Cognito uses the key to encrypt codes and temporary passwords sent to custom sender Lambda triggers.
- post_
authentication str - The configuration of a post authentication Lambda trigger in a user pool. This trigger can take custom actions after a user signs in.
- post_
confirmation str - The configuration of a post confirmation Lambda trigger in a user pool. This trigger can take custom actions after a user confirms their user account and their email address or phone number.
- pre_
authentication str - The configuration of a pre authentication trigger in a user pool. This trigger can evaluate and modify user sign-in events.
- pre_
sign_ strup - The configuration of a pre sign-up Lambda trigger in a user pool. This trigger evaluates new users and can bypass confirmation, link a federated user profile , or block sign-up requests.
- pre_
token_ strgeneration The legacy configuration of a pre token generation Lambda trigger in a user pool.
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
.- pre_
token_ Usergeneration_ config Pool Pre Token Generation Config - The detailed configuration of a pre token generation Lambda trigger in a user pool. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - user_
migration str - The configuration of a migrate user Lambda trigger in a user pool. This trigger can create user profiles when users sign in or attempt to reset their password with credentials that don't exist yet.
- verify_
auth_ strchallenge_ response - The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- create
Auth StringChallenge - The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- custom
Email Property MapSender - The configuration of a custom email sender Lambda trigger. This trigger routes all email notifications from a user pool to a Lambda function that delivers the message using custom logic.
- custom
Message String - A custom message Lambda trigger. This trigger is an opportunity to customize all SMS and email messages from your user pool. When a custom message trigger is active, your user pool routes all messages to a Lambda function that returns a runtime-customized message subject and body for your user pool to deliver to a user.
- custom
Sms Property MapSender - The configuration of a custom SMS sender Lambda trigger. This trigger routes all SMS notifications from a user pool to a Lambda function that delivers the message using custom logic.
- define
Auth StringChallenge - The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
- kms
Key StringId - The ARN of an KMS key . Amazon Cognito uses the key to encrypt codes and temporary passwords sent to custom sender Lambda triggers.
- post
Authentication String - The configuration of a post authentication Lambda trigger in a user pool. This trigger can take custom actions after a user signs in.
- post
Confirmation String - The configuration of a post confirmation Lambda trigger in a user pool. This trigger can take custom actions after a user confirms their user account and their email address or phone number.
- pre
Authentication String - The configuration of a pre authentication trigger in a user pool. This trigger can evaluate and modify user sign-in events.
- pre
Sign StringUp - The configuration of a pre sign-up Lambda trigger in a user pool. This trigger evaluates new users and can bypass confirmation, link a federated user profile , or block sign-up requests.
- pre
Token StringGeneration The legacy configuration of a pre token generation Lambda trigger in a user pool.
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
.- pre
Token Property MapGeneration Config - The detailed configuration of a pre token generation Lambda trigger in a user pool. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
. - user
Migration String - The configuration of a migrate user Lambda trigger in a user pool. This trigger can create user profiles when users sign in or attempt to reset their password with credentials that don't exist yet.
- verify
Auth StringChallenge Response - The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .
UserPoolNumberAttributeConstraints
UserPoolPasswordPolicy
- Minimum
Length int - The minimum length of the password in the policy that you have set. This value can't be less than 6.
- Password
History intSize The number of previous passwords that you want Amazon Cognito to restrict each user from reusing. Users can't set a password that matches any of
n
previous passwords, wheren
is the value ofPasswordHistorySize
.Password history isn't enforced and isn't displayed in DescribeUserPool responses when you set this value to
0
or don't provide it. To activate this setting, advanced security features must be active in your user pool.- Require
Lowercase bool - The requirement in a password policy that users must include at least one lowercase letter in their password.
- Require
Numbers bool - The requirement in a password policy that users must include at least one number in their password.
- Require
Symbols bool - The requirement in a password policy that users must include at least one symbol in their password.
- Require
Uppercase bool - The requirement in a password policy that users must include 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.
- Password
History intSize The number of previous passwords that you want Amazon Cognito to restrict each user from reusing. Users can't set a password that matches any of
n
previous passwords, wheren
is the value ofPasswordHistorySize
.Password history isn't enforced and isn't displayed in DescribeUserPool responses when you set this value to
0
or don't provide it. To activate this setting, advanced security features must be active in your user pool.- Require
Lowercase bool - The requirement in a password policy that users must include at least one lowercase letter in their password.
- Require
Numbers bool - The requirement in a password policy that users must include at least one number in their password.
- Require
Symbols bool - The requirement in a password policy that users must include at least one symbol in their password.
- Require
Uppercase bool - The requirement in a password policy that users must include 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.
- password
History IntegerSize The number of previous passwords that you want Amazon Cognito to restrict each user from reusing. Users can't set a password that matches any of
n
previous passwords, wheren
is the value ofPasswordHistorySize
.Password history isn't enforced and isn't displayed in DescribeUserPool responses when you set this value to
0
or don't provide it. To activate this setting, advanced security features must be active in your user pool.- require
Lowercase Boolean - The requirement in a password policy that users must include at least one lowercase letter in their password.
- require
Numbers Boolean - The requirement in a password policy that users must include at least one number in their password.
- require
Symbols Boolean - The requirement in a password policy that users must include at least one symbol in their password.
- require
Uppercase Boolean - The requirement in a password policy that users must include 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.
- password
History numberSize The number of previous passwords that you want Amazon Cognito to restrict each user from reusing. Users can't set a password that matches any of
n
previous passwords, wheren
is the value ofPasswordHistorySize
.Password history isn't enforced and isn't displayed in DescribeUserPool responses when you set this value to
0
or don't provide it. To activate this setting, advanced security features must be active in your user pool.- require
Lowercase boolean - The requirement in a password policy that users must include at least one lowercase letter in their password.
- require
Numbers boolean - The requirement in a password policy that users must include at least one number in their password.
- require
Symbols boolean - The requirement in a password policy that users must include at least one symbol in their password.
- require
Uppercase boolean - The requirement in a password policy that users must include 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.
- password_
history_ intsize The number of previous passwords that you want Amazon Cognito to restrict each user from reusing. Users can't set a password that matches any of
n
previous passwords, wheren
is the value ofPasswordHistorySize
.Password history isn't enforced and isn't displayed in DescribeUserPool responses when you set this value to
0
or don't provide it. To activate this setting, advanced security features must be active in your user pool.- require_
lowercase bool - The requirement in a password policy that users must include at least one lowercase letter in their password.
- require_
numbers bool - The requirement in a password policy that users must include at least one number in their password.
- require_
symbols bool - The requirement in a password policy that users must include at least one symbol in their password.
- require_
uppercase bool - The requirement in a password policy that users must include 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.
- password
History NumberSize The number of previous passwords that you want Amazon Cognito to restrict each user from reusing. Users can't set a password that matches any of
n
previous passwords, wheren
is the value ofPasswordHistorySize
.Password history isn't enforced and isn't displayed in DescribeUserPool responses when you set this value to
0
or don't provide it. To activate this setting, advanced security features must be active in your user pool.- require
Lowercase Boolean - The requirement in a password policy that users must include at least one lowercase letter in their password.
- require
Numbers Boolean - The requirement in a password policy that users must include at least one number in their password.
- require
Symbols Boolean - The requirement in a password policy that users must include at least one symbol in their password.
- require
Uppercase Boolean - The requirement in a password policy that users must include 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
- Password
Policy Pulumi.Aws Native. Cognito. Inputs. User Pool Password Policy - The password policy settings for a user pool, including complexity, history, and length requirements.
- Password
Policy UserPool Password Policy - The password policy settings for a user pool, including complexity, history, and length requirements.
- password
Policy UserPool Password Policy - The password policy settings for a user pool, including complexity, history, and length requirements.
- password
Policy UserPool Password Policy - The password policy settings for a user pool, including complexity, history, and length requirements.
- password_
policy UserPool Password Policy - The password policy settings for a user pool, including complexity, history, and length requirements.
- password
Policy Property Map - The password policy settings for a user pool, including complexity, history, and length requirements.
UserPoolPreTokenGenerationConfig
- 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
UserPoolSchemaAttribute
- 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 You should 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 won't be able to modify this attribute using their access token. For example,
DeveloperOnlyAttribute
can be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.- 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 You should 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 won't be able to modify this attribute using their access token. For example,
DeveloperOnlyAttribute
can be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.- 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 You should 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 won't be able to modify this attribute using their access token. For example,
DeveloperOnlyAttribute
can be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.- 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 You should 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 won't be able to modify this attribute using their access token. For example,
DeveloperOnlyAttribute
can be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.- 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 You should 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 won't be able to modify this attribute using their access token. For example,
DeveloperOnlyAttribute
can be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.- 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 You should 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 won't be able to modify this attribute using their access token. For example,
DeveloperOnlyAttribute
can be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.- 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
- External
Id string The external ID provides additional security for your IAM role. You can use an
ExternalId
with the IAM role that you use with Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, your Amazon Cognito user pool includes it in the request to assume your IAM role. You can configure the role trust policy to require that Amazon Cognito, and any principal, provide theExternalID
. If you use the Amazon Cognito Management Console to create a role for SMS multi-factor authentication (MFA), Amazon Cognito creates a role with the required permissions and a trust policy that demonstrates use of theExternalId
.For more information about the
ExternalId
of a role, see How to use an external ID when granting access to your AWS resources to a third party .- 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 provides additional security for your IAM role. You can use an
ExternalId
with the IAM role that you use with Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, your Amazon Cognito user pool includes it in the request to assume your IAM role. You can configure the role trust policy to require that Amazon Cognito, and any principal, provide theExternalID
. If you use the Amazon Cognito Management Console to create a role for SMS multi-factor authentication (MFA), Amazon Cognito creates a role with the required permissions and a trust policy that demonstrates use of theExternalId
.For more information about the
ExternalId
of a role, see How to use an external ID when granting access to your AWS resources to a third party .- 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 provides additional security for your IAM role. You can use an
ExternalId
with the IAM role that you use with Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, your Amazon Cognito user pool includes it in the request to assume your IAM role. You can configure the role trust policy to require that Amazon Cognito, and any principal, provide theExternalID
. If you use the Amazon Cognito Management Console to create a role for SMS multi-factor authentication (MFA), Amazon Cognito creates a role with the required permissions and a trust policy that demonstrates use of theExternalId
.For more information about the
ExternalId
of a role, see How to use an external ID when granting access to your AWS resources to a third party .- 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 provides additional security for your IAM role. You can use an
ExternalId
with the IAM role that you use with Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, your Amazon Cognito user pool includes it in the request to assume your IAM role. You can configure the role trust policy to require that Amazon Cognito, and any principal, provide theExternalID
. If you use the Amazon Cognito Management Console to create a role for SMS multi-factor authentication (MFA), Amazon Cognito creates a role with the required permissions and a trust policy that demonstrates use of theExternalId
.For more information about the
ExternalId
of a role, see How to use an external ID when granting access to your AWS resources to a third party .- 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 provides additional security for your IAM role. You can use an
ExternalId
with the IAM role that you use with Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, your Amazon Cognito user pool includes it in the request to assume your IAM role. You can configure the role trust policy to require that Amazon Cognito, and any principal, provide theExternalID
. If you use the Amazon Cognito Management Console to create a role for SMS multi-factor authentication (MFA), Amazon Cognito creates a role with the required permissions and a trust policy that demonstrates use of theExternalId
.For more information about the
ExternalId
of a role, see How to use an external ID when granting access to your AWS resources to a third party .- 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 provides additional security for your IAM role. You can use an
ExternalId
with the IAM role that you use with Amazon SNS to send SMS messages for your user pool. If you provide anExternalId
, your Amazon Cognito user pool includes it in the request to assume your IAM role. You can configure the role trust policy to require that Amazon Cognito, and any principal, provide theExternalID
. If you use the Amazon Cognito Management Console to create a role for SMS multi-factor authentication (MFA), Amazon Cognito creates a role with the required permissions and a trust policy that demonstrates use of theExternalId
.For more information about the
ExternalId
of a role, see How to use an external ID when granting access to your AWS resources to a third party .- 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
- 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 of a string attribute value.
UserPoolUserAttributeUpdateSettings
- 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
- 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
- Default
Email stringOption The configuration of verification emails to contain a clickable link or a verification code.
For link, your template body must contain link text in the format
{##Click here##}
. "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format{####}
.- 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 configuration of verification emails to contain a clickable link or a verification code.
For link, your template body must contain link text in the format
{##Click here##}
. "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format{####}
.- 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 configuration of verification emails to contain a clickable link or a verification code.
For link, your template body must contain link text in the format
{##Click here##}
. "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format{####}
.- 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 configuration of verification emails to contain a clickable link or a verification code.
For link, your template body must contain link text in the format
{##Click here##}
. "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format{####}
.- 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 configuration of verification emails to contain a clickable link or a verification code.
For link, your template body must contain link text in the format
{##Click here##}
. "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format{####}
.- 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 configuration of verification emails to contain a clickable link or a verification code.
For link, your template body must contain link text in the format
{##Click here##}
. "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format{####}
.- 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
We recommend new projects start with resources from the AWS provider.