Ciaran Downey 7ba4caad0d Improves usage and documentation of SNS event sources.
When using cloudformation intrinsic functions, it is easy to assume that sns:topicName is a property that should resolve to the actual value in AWS. In reality it is only used to name the underlying cloudformation resources generated by serverless, and thus needs to be a string.
This improves the error message and code path returned when sns:topicName is not a string, as well as does some validation around usage of Fn::ImportValue. Also adds some tests and documentation demonstrating that intrinsic functions work with SNS event sources.
2018-11-04 09:34:00 -05:00
..
2018-10-25 20:20:39 -07:00

Read this on the main serverless docs site

Documentation

The Serverless Framework is a CLI tool that allows users to build & deploy auto-scaling, pay-per-execution, event-driven functions.

Write your code, configure events to trigger your functions, then deploy & run those functions to your cloud provider via the Serverless CLI.

Getting started with serverless? Start here.

Already using AWS or another cloud provider? Read on.

Serverless Cloud Providers