---
title: "Automate the script execution via EventBridge"
canonical: "https://docs.infoblox.com/space/DeploymentGuideIntegratingB1TDwithAWSRoute53/664371308/Automate%20the%20script%20execution%20via%20EventBridge"
format: markdown
---
To automate the importing of IOCs from Infoblox an EventBridge can be used. This allows for the ingestion of IOCs from Infoblox via the Python script to occur on a schedule. To configure an Amazon EventBridge, perform the following steps:

1. Input **Lambda** into the *search bar* located at the top of the AWS interface.

![image](media://ba77711c-cb67-4108-87c8-7b11fab4e827)

2. Locate and click on** Lambda** to navigate to the *Lambda* page.

![A screenshot of a computer

Description automatically generated with medium confidence](media://67640ded-67b1-4197-bd88-fd286ce0059d)

3. Locate and **click** the Lambda function that was created in the previous section.

![A screenshot of a computer

Description automatically generated with medium confidence](media://bbfd8c63-3ccc-4471-b223-7eb0d05d93da)

4. In the *Function overview* panel of the function’s page, click the **Add trigger** button

![A screenshot of a computer

Description automatically generated with medium confidence](media://104499e8-596d-4288-8e5a-c14a0583980e)

5. On the **Add trigger** page, perform the following steps:
  - Select **EventBridge** from the Select a trigger drop-down menu located in the Trigger configuration panel

![A screenshot of a computer

Description automatically generated with medium confidence](media://9fb4a0b8-0569-4b28-80db-b3e1296de928)

- Under the Rule header, click the** Create a new rule** bubble.

![image-20240414-194831.png](media://691f330c-93be-4ecf-9401-acf5a2a580df)

- Give the Rule a **name.**

![image-20240414-194908.png](media://740dcea3-938c-4756-a0d4-7e6dcba78eb8)

- (Optional) If desired, give the rule a **description.**

![image-20240414-195048.png](media://b3f7cc54-6fdc-4304-ae52-2828d0a4570f)

- Under the Rule type header, click the **Schedule expression** bubble.

![image-20240414-195125.png](media://afb7b795-7193-462a-bbb6-5c8664682572)

- In the Schedule expression text panel, input a **Cron** or **Rate **expression. *Note, for more information about the accepted input types, see the AWS documentation *<u>*[here](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#RateExpressions)*</u>*.*

![A picture containing text, screenshot, font, line

Description automatically generated](media://d8ffa398-2cd4-4e81-b771-2ca0b0996248)

- Click** Add **to confirm the addition of the trigger.

![A picture containing text, screenshot, font, rectangle

Description automatically generated](media://ba72ebe7-facd-4346-95a2-e9a9a9419f99)