Creating rules that send events to an API destination in EventBridge - Amazon EventBridge
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Creating rules that send events to an API destination in EventBridge

You can use an API destination as the target of a rule. First, create the API destination. Then choose it as the target when you create the rule. You also need an IAM role with the correct permissions. For more information, see Permissions to access targets.

You set the target as part of the rule.

To create a rule that sends events to an API destination using the console
  1. Follow the steps in the Creating rules using the Enhanced Builder procedure.

  2. In the Select targets step, choose an API destination as the target type. Then do the following:

    1. Select EventBridge API destination.

    2. Do one of the following:

    3. (Optional) To add header values, under Header Parameters choose Add header parameter. Then enter a key and a value.

    4. (Optional) To add query string values, under Query string parameters choose Add query string parameter. Then enter a key and a value.

  3. To finish, follow the rest of the steps.