-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.yml
41 lines (40 loc) · 1.22 KB
/
package.yml
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
35
36
37
38
39
40
41
Transform: AWS::Serverless-2016-10-31
Metadata:
AWS::ServerlessRepo::Application:
Name: sns-slack-publish
Description: Publish AWS SNS messages to Slack with simplified Template
Author: sufiyanpk7 fouzankv
SpdxLicenseId: MIT
LicenseUrl: s3://aws-sam-cli-managed-default-samclisourcebucket-16wf7vyp1qakz/5a8bc6854b6eb95234145987aa061e70
ReadmeUrl: s3://aws-sam-cli-managed-default-samclisourcebucket-16wf7vyp1qakz/313ffe2b8128880383a0743428526061
SemanticVersion: 0.1.4
SourceCodeUrl: https://github.com/sufiyanpk7/sns-slack-publish-formatted
Parameters:
SlackUrl:
Type: String
TopicArn:
Type: String
ClentName:
Type: String
Default: clientName
Resources:
Function:
Type: AWS::Serverless::Function
Properties:
FunctionName:
Fn::Sub: ${AWS::StackName}
Runtime: nodejs16.x
Handler: post.handler
CodeUri: s3://aws-sam-cli-managed-default-samclisourcebucket-16wf7vyp1qakz/0989e1ed87de3edc91af37cc619b1d40
Environment:
Variables:
URL:
Ref: SlackUrl
CLIENT:
Ref: ClentName
Events:
Message:
Type: SNS
Properties:
Topic:
Ref: TopicArn