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: { ... } }

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

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

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

관련 콘텐츠