How to get SNS notification when Route53 domain registration done

0

Hi we are making API call to Route53 to register domain, we got an operation job id and we could currently only keep polling to see if the job is done.

Question: is there a way to make it possible to receive SNS notifications when jobs is done so we could just subscribe to it? Thank you!

1 回答
1

Create an SNS topic and subscribe to it. Use the RegisterDomain API and have this snippet inside it. <Notification> <TopicArn>InsertARNHere</TopicArn> <Enabled>true</Enabled> <Sns>...</Sns> </Notification>

AWS
TonyG
已回答 7 个月前
  • Thank you, we will give it a try!

    We are using AWS NodeJS SDK (@aws-sdk/client-route-53-domains), do you know what's the right way include the SNS snippet in the request? Or share the documentation to us about it, that would be great too!

  • Try this Notification: { TopicArn: "InsertARNHere", Enabled: true, Sns: { ... } }

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

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

回答问题的准则