Using Console
Principal
is no longer set to "*"
.Using CLI
<topic-arn>
with the ARN of the SNS topic identified in step 3 and <aws-account-id>
with your AWS account ID.
Using Python
list_topics()
method.Policy
attribute set. If it does, retrieve the policy using the get_topic_attributes()
method.json
module and check if it allows global publishing. If it does, update the policy to disallow global publishing using the set_topic_attributes()
method.