From d16a98baa4ea7b44aa4422cfb663f45932fe1abf Mon Sep 17 00:00:00 2001 From: "Gangwoo \"Peter\" Cho" Date: Tue, 22 Feb 2022 15:47:28 -0500 Subject: [PATCH] added sample events --- code/sample-event.running.json | 16 ++++++++++++++++ code/sample-event.stopped.json | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 code/sample-event.running.json create mode 100644 code/sample-event.stopped.json diff --git a/code/sample-event.running.json b/code/sample-event.running.json new file mode 100644 index 0000000..1749a54 --- /dev/null +++ b/code/sample-event.running.json @@ -0,0 +1,16 @@ +{ + "version": "0", + "id": "9b21b346-1786-9c5b-bb6a-5e7d12a6ee91", + "detail-type": "EC2 Instance State-change Notification", + "source": "aws.ec2", + "account": "252999262699", + "time": "2022-02-22T15:41:07Z", + "region": "us-gov-west-1", + "resources": [ + "arn:aws-us-gov:ec2:us-gov-west-1:252999262699:instance/i-06eaa7e7ec1ca43dd" + ], + "detail": { + "instance-id": "i-06eaa7e7ec1ca43dd", + "state": "running" + } +} \ No newline at end of file diff --git a/code/sample-event.stopped.json b/code/sample-event.stopped.json new file mode 100644 index 0000000..3adb465 --- /dev/null +++ b/code/sample-event.stopped.json @@ -0,0 +1,16 @@ +{ + "version": "0", + "id": "9b21b346-1786-9c5b-bb6a-5e7d12a6ee91", + "detail-type": "EC2 Instance State-change Notification", + "source": "aws.ec2", + "account": "252999262699", + "time": "2022-02-22T15:41:07Z", + "region": "us-gov-west-1", + "resources": [ + "arn:aws-us-gov:ec2:us-gov-west-1:252999262699:instance/i-06eaa7e7ec1ca43dd" + ], + "detail": { + "instance-id": "i-06eaa7e7ec1ca43dd", + "state": "stopped" + } +} \ No newline at end of file