

# Creating data protection policies in Amazon SNS using CloudFormation
Using CloudFormation

**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](https://docs.amazonaws.cn/sns/latest/dg/sns-message-data-protection-availability-change.html).

The number and size of Amazon SNS resources in an Amazon account are limited. For more information, see [Amazon Simple Notification Service endpoints and quotas](https://docs.amazonaws.cn/general/latest/gr/sns.html).

## Creating data protection policies (CloudFormation)


Create an Amazon SNS data protection policy using Amazon CloudFormation. 

**To create a data protection policy together with an Amazon SNS topic (CloudFormation)**  
Use this option to create a new data protection policy together with a standard Amazon SNS topic:
+ [AWS::SNS::Topic](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html)