Deleting data protection policies in Amazon SNS - Amazon Simple Notification Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 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.

Deleting data protection policies (Console)

To delete a managed data protection policy (Console)
  1. Sign in to the Amazon SNS console.

  2. Choose the topic that contains the data protection policy that you want to delete.

  3. Choose Edit.

  4. Expand the Data protection policy section.

  5. Choose Remove next to the data protection policy statement that you want to remove.

  6. 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 ""