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 Answer
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
answered 6 months ago
  • 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: { ... } }

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions