Home > Mobile >  Schedule events via EventBridge with details
Schedule events via EventBridge with details

Time:01-13

I want to schedule events via Event bridge, so that Event Bridge will send the events to SNS and subscribe with SQS, then in my springboot application i will listen to SQS ..

but the problem here is, i cannot find a way to provide details in this event.

i want to send something like this:

 {
  "version": "0",
  "id": "89d1a02d-5ec7-412e-82f5-13505f849b41",
  "detail-type": "Scheduled Event",
  "source": "aws.events",
  "time": "2016-12-30T18:44:49Z",
  "detail": {"use-case-name": "Update all customers"}
}

is there any possibility i can put details in there?

i try to configure like this

enter image description here

but the event is still does not have any information in details

{
    "version": "0",
    "id": "7e62a5fa-2f75-d89d-e212-40dad2b9ae43",
    "detail-type": "Scheduled Event",
    "source": "aws.events",
    "resources": [
        "..."
    ],
    "detail": {}
}

CodePudding user response:

You can use enter image description here

  •  Tags:  
  • Related