如何在正则表达式上匹配 CloudWatch 事件。我只需要在特定的作业名称上调用特定的 SNS 目标。例如,如下所示,我想对 TranscriptionJobName 进行正则表达式匹配。谢谢。
{
"source": [
"aws.transcribe"
],
"detail-type": [
"Transcribe Job State Change"
],
"detail": {
"TranscriptionJobStatus": [
"COMPLETED",
"FAILED"
],
"TranscriptionJobName": [
"transcription-localhost-*"
]
}
}