Deleting data protection policies in Amazon SNS
You can delete Amazon SNS data protection policies using the Amazon API, Amazon CLI, Amazon CloudFormation, or Amazon Web Services Management Console.
For general information about Amazon SNS data protection policies, see Understanding Amazon SNS data protection policies.
The number and size of Amazon SNS data protection policy resources in an Amazon account are limited. For more information, see Amazon SNS API throttling in Amazon Web Services General Reference.
Topics
Deleting data protection policies using the console
To delete a managed data protection policy using the console
Sign in to the Amazon SNS console
. -
Choose the topic that contains the data protection policy that you want to delete.
-
Choose Edit.
-
Expand the Data protection policy section.
-
Choose Remove next to the data protection policy statement that you want to remove.
-
Choose Save changes.
Deleting a data protection policy using an empty JSON string
You can delete a data protection policy by updating it to an empty JSON string.
Deleting a data protection policy using the Amazon CLI
You can delete a data protection policy using the Amazon CLI.
//aws sns put-data-protection-policy --resource-arn
topic-arn
--data-protection-policy ""