-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathevent.example.json
47 lines (47 loc) · 1.28 KB
/
event.example.json
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
42
43
44
45
46
47
{
"Records": [
{
"EventSource": "aws:sns",
"EventVersion": "1.0",
"EventSubscriptionArn": "arn:aws:sns:us-east-1::ExampleTopic",
"Sns": {
"Type": "Notification",
"MessageId": "95df01b4-ee98-5cb9-9903-4c221d41eb5e",
"TopicArn": "arn:aws:sns:us-east-1:123456789012:ExampleTopic",
"Subject": "example subject",
"Message": "example message",
"Timestamp": "1970-01-01T00:00:00.000Z",
"SignatureVersion": "1",
"Signature": "EXAMPLE",
"SigningCertUrl": "EXAMPLE",
"UnsubscribeUrl": "EXAMPLE",
"MessageAttributes": {
"GitHubInstallationID": {
"Type": "Number",
"Value": "1"
},
"IssueSubjectTemplate": {
"Type": "String",
"Value": "{{.Subject}}"
},
"IssueBodyTemplate": {
"Type": "String",
"Value": "{{.Message}}"
},
"RepositoryOwner": {
"Type": "String",
"Value": "foo-org"
},
"Repository": {
"Type": "String",
"Value": "bar-repo"
},
"Labels": {
"Type": "String.Array",
"Value": "[\"bug\", \"wontfix\"]"
}
}
}
}
]
}