Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Configuring delivery status logging using the AWS Management Console

Focus mode
Configuring delivery status logging using the AWS Management Console - Amazon Simple Notification Service

This topic explains how to enable message delivery status logging for Amazon SNS topics, including configuring logging settings, assigning IAM roles, and verifying that CloudWatch Logs capture delivery logs for monitoring and troubleshooting.

  1. Sign in to the Amazon SNS console.

  2. On the navigation panel, choose Topics.

  3. Select the desired topic and then choose Edit.

  4. Expand the Delivery status logging section.

  5. Choose the protocol for which you want to enable logging (for example, HTTP, Lambda, Amazon SQS).

  6. Enter the Success sample rate, which is the percentage of successful messages for which you want to receive CloudWatch Logs.

  7. In the IAM roles section, you must configure roles for both success and failure logging:

    • Use an existing service role – Select an existing IAM role that has the required permissions for Amazon SNS to write logs to CloudWatch.

    • Create a new service role – Choose Create new roles to define the IAM roles for successful and failed deliveries in the IAM console. For permission details, see Prerequisites for delivery status logging.

  8. Choose Save changes.

    After enabling logging, you can view and parse the CloudWatch Logs containing the message delivery status. For more information about using CloudWatch, see the CloudWatch documentation.

Verifying log setup

  1. Sign into the CloudWatch Logs console.

  2. Locate the log group named sns/<region>/<account-id>/<topic-name>.

  3. Ensure log streams exist for the configured endpoint protocol.

  4. Send a test message to your topic and confirm that log entries appear, indicating successful or failed deliveries.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.