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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ