Skip to content

Commit d2164b3

Browse files
committed
Merge branch 'ikben-rds-event-example'
2 parents cdac64a + 8d85f86 commit d2164b3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

doc_source/services-rds.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
**Amazon RDS Sample Event** <a name="eventsources-rds"></a>
2+
3+
```
4+
{
5+
"Records": [
6+
{
7+
"EventVersion": "1.0",
8+
"EventSubscriptionArn": eventsubscriptionarn,
9+
"EventSource": "aws:sns",
10+
"Sns": {
11+
"SignatureVersion": "1",
12+
"Timestamp": "1970-01-01T00:00:00.000Z",
13+
"Signature": "EXAMPLE",
14+
"SigningCertUrl": "EXAMPLE",
15+
"MessageId": "95df01b4-ee98-5cb9-9903-4c221d41eb5e",
16+
"Message": "{\"Event Source\":\"db-instance\",\"Event Time\":\"1970-01-01 00:00:00.000\",\"Identifier Link\":\"https://console.aws.amazon.com/rds/home?region=eu-west-1#dbinstance:id=dbinstanceid\",\"Source ID\":\"dbinstanceid\",\"Event ID\":\"http://docs.amazonwebservices.com/AmazonRDS/latest/UserGuide/USER_Events.html#RDS-EVENT-0002\",\"Event Message\":\"Finished DB Instance backup\"}",
17+
"MessageAttributes": {},
18+
"Type": "Notification",
19+
"UnsubscribeUrl": "EXAMPLE",
20+
"TopicArn": topicarn,
21+
"Subject": "RDS Notification Message"
22+
}
23+
}
24+
]
25+
}
26+
```
27+
28+
**Note** The first event send will not have (escaped) json in the `Message` key, but instead text like `This is a message to notify that RDS will attempt to send you event notifications of type db-instance to the topic topicarn`.

0 commit comments

Comments
 (0)