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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인