BoxLang 🚀 A New JVM Dynamic Language Learn More...

Amazon SNS SDK

v1.0.0+13 Modules

Build Status

Welcome to the Amazon SNS SDK

This SDK allows you to add Amazon SNS capabilities to your ColdFusion (CFML) applications. It is also a ColdBox Module, so if you are using ColdBox, you get auto-registration and much more.



This SDK can be installed as standalone or as a ColdBox Module. Either approach requires a simple CommandBox command:

box install snssdk

Then follow either the standalone or module instructions below.


This SDK will be installed into a directory called snssdk and then the SDK can be instantiated via new snssdk.models.AmazonSNS() with the following constructor arguments:

<cfargument name="accessKey" 			required="true">
<cfargument name="secretKey" 			required="true">
<cfargument name="encryption_charset" 	required="false" default="utf-8">
<cfargument name="ssl" 					required="false" default="false">
<cfargument name="defaultRegionName		required="false" default="us-east-1",
<cfargument name="defaultServiceName 	required="false" default="sns",
<cfargument name="signatureAlgorithm 	required="false" default="AWS4-HMAC-SHA256",
<cfargument name="hashAlorithm 			required="false" default="SHA256"

ColdBox Module

This package also is a ColdBox module as well. The module can be configured by creating a snssdk structure in the variables.moduleSettings configuration area of your config/ColdBox.cfc with the following settings:

snssdk = {
	// Your amazon access key
	accessKey = "",
	// Your amazon secret key
	secretKey = "",
	// The default encryption character set
	encryption_charset = "utf-8",
	// SSL mode or not on cfhttp calls.
	ssl = false
	defaultRegionName = "us-east-1",
	defaultServiceName = "sns",
	signatureAlgorithm = "AWS4-HMAC-SHA256",
	hashAlorithm = "SHA256"

Then you can leverage the SDK CFC via the WireBox ID: AmazonSNS@snssdk


Please check out the included API Docs to see all the methods available to you using our SNS SDK or visit them online at



  • Updated build process
  • ACF Compatibilties
  • Test harness
  • Updated settings using moduleSettings since ColdBox version 4.3.0


  • Initial Version

$ box install snssdk

No collaborators yet.
  • {{ getFullDate("2017-09-14T18:09:49Z") }}
  • {{ getFullDate("2020-06-29T12:05:54Z") }}
  • 2,644
  • 6,698