Creating Lambda functions using [serverless](https://serverless.com/) and I am trying to create a SNS topic with Email protocol. I want to then pass that arn as an ENV variable to a lambda function. I cannot find any documentation other than appending a topic to function in the creation process. Any help/examples is appreciated (I am working in python).

To elaborate, the below would create a function with an sns topic attached.:

```
functions:
  dispatcher:
    handler: dispatcher.dispatch
    events:
      - sns: dispatch

```

Looking to do "something" like (this does not work... just an example):

```
events:
  sns:
    topicName: thing
    subscription: 
      - endPoint: "myemail@thing.com"
      - protocol: "email"

functions:
  dispatcher:
    handler: dispatcher.dispatch
    environment:
      SNS_TOPIC: {Ref: ThingSnsTopic}

```

Ideally the sns part would be created outside of the functions, and the I could reference the sns arn and use it as a env var