View a markdown version of this page

서비스 작업 대기열 차단 이벤트 - AWS Batch

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

서비스 작업 대기열 차단 이벤트

가 차단된 대기열을 AWS Batch 감지하면 Amazon CloudWatch Events에 이벤트가 생성됩니다. 차단된 대기열의 사유는 DescribeServiceJob API 작업의 statusReason 필드에서 찾을 수 있습니다.

예서비스 작업 대기열 차단 이벤트

서비스 작업 대기열 차단 이벤트는 다음과 같은 형식으로 제공됩니다. detail 섹션은 AWS Batch API 레퍼런스DescribeServiceJob API 작업에서 반환되는 응답과 유사합니다. EventBridge 파라미터에 대한 자세한 정보는 Amazon EventBridge 사용 설명서이벤트 및 이벤트 패턴을 참조하세요.

참고

tagsserviceRequestPayload 필드는 이벤트 detail에 포함되지 않습니다.

{ "version": "0", "id": "c8f9c4b5-76e5-d76a-f980-7011e206042b", "detail-type": "Batch Service Job Queue Blocked", "source": "aws.batch", "account": "123456789012", "time": "2022-01-11T23:36:40Z", "region": "us-east-1", "resources": [ "arn:aws:batch:us-east-1:123456789012:service-job/4c7599ae-0a82-49aa-ba5a-4727fcce14a8" ], "detail": { "attempts": [], "createdAt": 1641944200058, "jobArn": "arn:aws:batch:us-east-1:123456789012:service-job/4c7599ae-0a82-49aa-ba5a-4727fcce14a8", "jobId": "6271dfdf-d8a7-41b1-a4d2-55a2224f5375", "jobName": "event-test", "jobQueue": "arn:aws:batch:us-east-1:123456789012:job-queue/HappyPathJobQueue", "serviceJobType": "SAGEMAKER_TRAINING", "status": "RUNNABLE", "statusReason": "blocked-reason", "timeoutConfig": { "attemptDurationSeconds": 60 } } }