1 Answer
- Newest
- Most votes
- Most comments
0
If the failure of your stored procedure leads to failure of Glue job, you can use Amazon EventBridge to detect the Glue job failure and send a notification to one of the available targets.
A sample Amazon EventBridge rule:
{
"source": ["aws.glue"],
"detail-type": ["Glue Job State Change"],
"detail.state": ["FAILED"],
"detail.message": [{
"prefix": "JobName:MyJob and"
}]
}
If your Glue job result doesn't rely on stored procedure result, you can then use Python AWS SDK to send an email notification.
Relevant content
- asked 3 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
This is not working. I need to apply this SNS setup for jobs starting with a specific prefix. There are around 30 jobs, how can I accomplish using this prefix attribute?