SES Verfied Domain Not an Option in Cognito Email Config

0

My verified domain identity does not show up in the Cognito console as a FROM email address option when I try to configure SES as the email messaging provider. This seemed to coincide with my verified domain being moved out of the sandbox. All DNS records are managed by Route 53 and seem to be present. I have another cognito user pool that is successfully using this SES identity, but it was configured before I moved the identity our of the sandbox. The regions and accounts are the same.

  • I'm also having this problem. My verified domain was moved out of the sandbox long ago so for me that isn't a factor, my DNS records aren't managed by Route 53 but I can see that all required DNS records are still in place.

    The posted answer to manually add the SES domain identity via CLI command fixed it for me too, thanks Jake.

1 回答
1

I was able to manually add the SES domain identity as the provider with the following cli command...

aws cognito-idp update-user-pool --user-pool-id <id> --email-configuration SourceArn=<arn_for_domain_identity>,ReplyToEmailAddress=no-reply@domain.com,EmailSendingAccount=DEVELOPER,From=no-reply@domain.com,ConfigurationSet=<config_set_name> --profile <profile_name> --auto-verified-attributes email --user-attribute-update-settings AttributesRequireVerificationBeforeUpdate=email

I had to add the --auto-verified-attributes email --user-attribute-update-settings AttributesRequireVerificationBeforeUpdate=email to prevent an error saying that they did not match, despite the fact that describe said they did. Perhaps they are reset as part of setting the email configuration. This command also clears your lambda config if you have any set.

Jake
已回答 2 个月前
profile picture
专家
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则