1.2 KiB
Identifying the ARN for your bucket notifications
You defined the <IDENTIFIER> to assign to the
target ARN for your bucket notifications when creating the endpoint
previously. The steps below return the ARNs configured on the
deployment. Identify the ARN created previously by looking for the
<IDENTIFIER> you specified.
Review the JSON output
Copy and run the following command, replacing
ALIASwith thealias <alias>of the deployment.mc admin info --json ALIASIn the JSON output, look for the key
info.sqsARN.The ARN you need is the value of that key that matches the
<IDENTIFIER>you specified.For example, |ARN|.
Use jq to parse the JSON for the value
Copy and run the following command, replacing
ALIASwith thealias <alias>of the deployment.mc admin info --json ALIAS | jq .info.sqsARNThis returns the ARN to use for notifications, such as |ARN|