
Deploy an Amazon EventBridge Custom Event Bus with a subscriber that delivers to Amazon SQS, with delivery logs and Amazon CloudWatch alarms to trace a missing event.
detail.orderId and delivers each match to an Amazon SQS queue. A second queue receives a failure record for any event that cannot be delivered after the first attempt and two retries.git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-custom-bus-sqs-observability/samsam deploy --guidedGrantTargetAccess=false to break delivery, see the dead-letter queue and alarms report it, and replay the failed event.aws eventsv2 delete-subscriber --subscriber-arn "$REPLAY_ARN"sam delete --stack-name "$STACK_NAME"