Close|CloudStack Canvas · How-To Guide
How-To Fix

Add an Email Subscription to an SNS Topic

An SNS Topic can notify subscribers via email. On the canvas, select your SNS Topic node and set the "Notification Email" field to specify a recipient. CloudFormation will create an email subscription; the recipient will receive a confirmation email and must click the link before messages are delivered.

Paste into this field

SNS Topic → subscriptionEmail

Output looks like

alerts@example.com

1Select the SNS Topic node

On the canvas, click your SNS Topic node to open the property panel.

3Enter the notification email

Find the "Notification Email" field in the property panel. Enter the destination email address (e.g. alerts@example.com). This creates an email subscription when the stack deploys.

5Subscription confirmation required

After CloudFormation creates the stack, AWS sends a confirmation email to that address. The recipient must click "Confirm subscription" in the email before SNS will deliver messages to them.

7CloudFormation behavior

CloudFormation creates the subscription in "PendingConfirmation" state. The stack completes successfully — it does not wait for the recipient to confirm.

9Test after confirmation

Publish a test message from the SNS console: Topics → your topic → "Publish message" → enter a test body → Publish.

Once you have the value, go back to CloudStack Canvas and paste it into the highlighted field.

CloudStack Canvas · Validation Guide

Add an Email Subscription to an SNS Topic — CloudStack Canvas