Created
April 17, 2017 17:47
-
-
Save KensoDev/9831acfa00acf11999b635be1e8ad97d to your computer and use it in GitHub Desktop.
Cloudwatch notification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"account": "{account-id}", | |
"detail": { | |
"clusterArn": "arn:aws:ecs:us-east-1:{account-id}:cluster/{cluster-id}", | |
"containerInstanceArn": "arn:aws:ecs:us-east-1:{account-id}:container-instance/0b1a4979-3846-4e3e-846f-b63a9ad545b0", | |
"containers": [ | |
{ | |
"containerArn": "arn:aws:ecs:us-east-1:{account-id}:container/4ce75a22-f1c9-4ac2-8607-a503e7682c1d", | |
"exitCode": 1, | |
"lastStatus": "STOPPED", | |
"name": "{service-id}", | |
"taskArn": "arn:aws:ecs:us-east-1:{account-id}:task/{task-id}" | |
} | |
], | |
"createdAt": "2017-04-13T21:37:26.689Z", | |
"desiredStatus": "STOPPED", | |
"group": "service:{service-id}", | |
"lastStatus": "STOPPED", | |
"overrides": { | |
"containerOverrides": [ | |
{ | |
"name": "{service-id}" | |
} | |
] | |
}, | |
"startedAt": "2017-04-13T21:37:28.746Z", | |
"startedBy": "ecs-svc/9223370545345641169", | |
"stoppedAt": "2017-04-13T21:37:28.867Z", | |
"stoppedReason": "Essential container in task exited", | |
"taskArn": "arn:aws:ecs:us-east-1:{account-id}:task/{task-id}", | |
"taskDefinitionArn": "arn:aws:ecs:us-east1:{account-id}:task-definition/{service-id}-demo:1", | |
"updatedAt": "2017-04-13T21:37:28.867Z", | |
"version": 5 | |
}, | |
"detail-type": "ECS Task State Change", | |
"id": "910f4ed1-cfd1-4c89-a9b1-9eefbacb002d", | |
"region": "us-east-1", | |
"resources": [ | |
"arn:aws:ecs:us-east-1:{account-id}:task/{task-id}" | |
], | |
"source": "aws.ecs", | |
"time": "2017-04-13T21:37:28Z", | |
"version": "0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment