Posted On: Mar 23, 2023

HAQM Simple Notification Service (HAQM SNS) now supports setting content-type request headers for HTTP/S notifications. This enables your topic subscribers to create a DeliveryPolicy that specifies the content-type value that HAQM SNS assigns to their HTTP/S notifications, such as application/json, application/xml, or text/plain. With this launch, applications can receive their notifications in a more predictable format.

HAQM SNS is a messaging service for Application-to-Application (A2A) and Application-to-Person (A2P) communication. The A2A functionality provides high-throughput, push-based, many-to-many messaging between distributed systems, microservices, and event-driven serverless applications. These applications include HAQM Simple Queue Service (SQS), HAQM Kinesis Data Firehose, AWS Lambda, and HTTP/S endpoints. The A2P functionality enables you to communicate with your customers via mobile text messages (SMS), mobile push notifications, and email notifications. 

HAQM SNS HTTP content-type header support is available in all public AWS Regions and the AWS GovCloud (US) Regions. You can start using this new capability today, via the AWS Management Console, AWS Software Development Kit (SDK), HAQM SNS Command Line Interface (CLI), and the HAQM SNS Application Programming Interface (API). You may also provision your DeliveryPolicy for an HAQM SNS subscription via AWS CloudFormation.

To learn more about HAQM SNS content-type request headers for HTTP/S notifications, see the following: