-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.yaml
More file actions
34 lines (31 loc) · 824 Bytes
/
template.yaml
File metadata and controls
34 lines (31 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: >
wavefront-cf-notifier
SAM Template for wavefront-cf-notifier
Globals:
Function:
Timeout: 10
Resources:
WavefrontNotifier:
Type: AWS::Serverless::Function
Properties:
CodeUri: dist/
Handler: wavefront-cf-notifier
Runtime: go1.x
Policies:
- AWSLambdaRole
- AmazonSNSRole
Events:
SNSCFAlerts:
Type: SNS
Properties:
Topic: xxx
Tags:
version: 0.0.1
Description: "wavefront-cf-notifier listens to CloudFormation notifications sent across an SNS topic"
MemorySize: 128
Environment:
Variables:
WAVEFRONT_URL: https://try.wavefront.com/api/v2/event
WAVEFRONT_TOKEN: xxx