Create EventBridge Schedule

Contents:

Create Schedule

Schedule

  • In Step 1 of the Create schedule interface, you can configure as you like. Here is an example setup:

Schedule Schedule Schedule

  • In Step 2 of the Create schedule interface: select Target API as AWS Lambda -> choose the RateLimitCanary Lambda Function -> Paste the Payload:
{ "API_ID":"jbjfqykyob", "STAGE_NAME":"test", "RATE_LIMIT":100, "BURST_LIMIT":200 }
  • This payload will be sent to RateLimitCanary, and the values will be applied to the stage specified in the payload.

Schedule Schedule

  • In Step 3 of the Create schedule interface:

Schedule Schedule

  • In Step 4 of the Create schedule interface: review the configuration and click Create schedule

Schedule

Similarly, you can create Schedules for different times to increase or decrease the request traffic of the API stage.

  • When the Schedule is triggered, a notification will be sent via Slack.

Schedule