latestOpenAPI 3.0.02026-08-2045003.8 MB
72813baf8d47
Notification Subscription Service
Subscribe
Create a notification for your resources
Note: This service is deprecated. Use the Notification Center Service.
post/events/subscription
Query parameters
accountIdstring
ID of the account associated with your token
Request body
Example request
{
"subscription": {
"resourceId": "sig-1234abcd",
"protocol": "email",
"endpoint": "YOUR@EMAIL.COM",
"eventType": "AWS_EC2_INSTANCE_TERMINATE",
"eventFormat": {
"event": "%event%",
"resourceId": "%resource-id%",
"resourceName": "%resource-name%",
"instanceId": "%instance-id%",
"myCustomKey": "My content is set here"
}
}
}Response
— unresolved $ref