A company uses an AWS Batch job for its end-of-day sales process. The company needs a serverless solution that invokes a third-party reporting application when the AWS Batch job succeeds. The reporting application exposes an HTTP API that uses username and password authentication. Which solution meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure an Amazon EventBridge rule to match incoming AWS Batch job SUCCEEDED events. Configure the third-party API as an EventBridge API destination with a username and password. Set the API destination as the EventBridge rule target..
Why this is the answer
The correct solution leverages EventBridge's native capabilities for event-driven architectures and third-party API integration. EventBridge can directly capture AWS Batch job SUCCEEDED events. Its API Destinations feature is designed precisely for invoking external HTTP endpoints, including support for username and password authentication, making it a serverless and efficient way to connect to the reporting application.
Incorrect options:
EventBridge Scheduler is for scheduling tasks, not for reacting to real-time events like job success. While Lambda could invoke the API, EventBridge API