Amazon Cognito Identity Provider
API Reference (API Version 2016-04-18)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.


The SMS text message multi-factor authentication (MFA) configuration type.



The SMS authentication message that will be sent to users with the code they need to sign in. The message must contain the ‘{####}’ placeholder, which will be replaced with the code. If the message is not included, and default message will be used.

Type: String

Length Constraints: Minimum length of 6. Maximum length of 140.

Pattern: .*\{####\}.*

Required: No


The SMS configuration.

Type: SmsConfigurationType object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: