github.com/Foodji/aws-lambda-go@v1.20.2/events/testdata/codedeploy-instance-event.json (about) 1 { 2 "account": "123456789012", 3 "region": "us-east-1", 4 "detail-type": "CodeDeploy Instance State-change Notification", 5 "source": "aws.codedeploy", 6 "version": "0", 7 "time": "2016-06-30T23:18:50Z", 8 "id": "fb1d3015-c091-4bf9-95e2-d98521ab2ecb", 9 "resources": [ 10 "arn:aws:ec2:us-east-1:123456789012:instance/i-0000000aaaaaaaaaa", 11 "arn:aws:codedeploy:us-east-1:123456789012:deploymentgroup:myApplication/myDeploymentGroup", 12 "arn:aws:codedeploy:us-east-1:123456789012:application:myApplication" 13 ], 14 "detail": { 15 "instanceId": "i-0000000aaaaaaaaaa", 16 "region": "us-east-1", 17 "state": "SUCCESS", 18 "application": "myApplication", 19 "deploymentId": "d-123456789", 20 "instanceGroupId": "8cd3bfa8-9e72-4cbe-a1e5-da4efc7efd49", 21 "deploymentGroup": "myDeploymentGroup" 22 } 23 }