A proprietary processor runs outside AWS and must perform a task in a data workflow.
The worker must retrieve the task and report success or failure to Step Functions.
Which configuration is most appropriate?
Use a Step Functions Activity so an external worker can poll for work and report completion through the API.
Detailed explanation
An external worker can poll for a task and report completion with SendTaskSuccess or SendTaskFailure.
An external worker can poll for a task and report completion with SendTaskSuccess or SendTaskFailure.
Lambda has a maximum execution duration and is not a safe indefinite wait for an external worker.
Lambda has a maximum execution duration and is not a safe indefinite wait for an external worker.
Audit-log delivery is not an application task success or failure notification.
Audit-log delivery is not an application task success or failure notification.
Object Lock protects objects and does not provide task retrieval or completion callbacks.
Object Lock protects objects and does not provide task retrieval or completion callbacks.
Check official documentation
Compare the following points with the official documentation.
Step Functions Activity、GetActivityTask、SendTaskSuccess、Heartbeatの公式説明を確認する。
What to confirm
Callback Task TokenとActivityの外部ワーカー連携の違いを説明できる。
Key points
- Activity
- External worker
- GetActivityTask
- Heartbeat
Notes
- Environment: AWS公式DEA-C01試験ガイドと各サービスの公式ドキュメントの確認
- Confirm current AWS service behavior in the official DEA-C01 documentation.
Foundation review
External execution
Define task retrieval, progress, completion, timeout, and duplicate handling for work outside AWS.
Callback choice
An Activity uses worker polling, while a task token callback is returned by a separate integration pattern.