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!

已提問 7 個月前檢視次數 219 次
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: { ... } }

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南