Creating data protection policies in Amazon SNS using the API
Important
Amazon SNS message data protection will no longer be available to new customers starting April 30, 2026. For more information and guidance on alternatives, see Amazon SNS message data protection availability change.
The number and size of Amazon SNS resources in an AWS account are limited. For more information, see Amazon Simple Notification Service endpoints and quotas.
Creating a data protection policy using API
Create an Amazon SNS data protection policy using the AWS API.
To create a data protection policy together with an Amazon SNS topic (AWS API)
Use the DataProtectionPolicy property of a standard Amazon SNS
topic:
To retrieve or create a data protection policy for an existing Amazon SNS topic (AWS API)
Call one of the following operations: