AWS EventBridge
Send device events to AWS EventBridge
Introduction
AWS EventBridge is a serverless service that uses events to connect application components together, making it easier for you to build scalable event-driven applications.
The Blecon AWS EventBridge integration sends device messages to EventBridge, where they can be connected to other AWS services in a low/no-code way.
Preparing your AWS account
Log into or create an AWS account.
Note Region
Note the region in use, which is found in the top right of the AWS Console.
Create IAM Policy
Noting the bucket name you created, create a policy like the below.
For ease of creating, select the JSON editor, paste the above, and insert your region and account ID where indicated.
Create IAM Role
Now that we've created the policy, we can create a role, and attach the policy to it.
Navigate to the IAM service in the AWS Console and select Create Role. For Trusted Entity, choose AWS account and enter 202578976232.
Click next, then find the policy you created in the previous step, and attach it to the role.
Click next, and give the role a meaningful name, then click Save.
Now that the role is created, we need to get the ARN of the role.
Find the role in the list of roles, open it, and copy the ARN.
Configuring the Integration
Now you should have everything you need to configure the Blecon integration:
IAM Role ARN
Region
The namespace is your choice. Device messages must use this namespace to be routed to this integration.
For next steps, follow the EventBridge documentation.
If you have questions, feel free to contact us!
Last updated