Table: aws_eventbridge_bus - Query AWS EventBridge Buses using SQL
The AWS EventBridge Bus is a component of AWS EventBridge service, which enables the routing of events between AWS services and applications. It acts as a central hub where these events are filtered and routed to specific targets, based on rules you define. The EventBridge Bus helps in building loosely coupled, distributed applications with nearly real-time event-driven architectures.
Table Usage Guide
The aws_eventbridge_bus
table in Steampipe provides you with information about buses within AWS EventBridge. This table allows you, as a DevOps engineer, to query bus-specific details, including the bus name, ARN, policy, and associated metadata. You can utilize this table to gather insights on buses, such as their policies, the events they can handle, and more. The schema outlines the various attributes of the EventBridge bus for you, including the name, ARN, policy, and associated tags.
Examples
Basic info
Gain insights into the configurations of your AWS EventBridge Bus to ensure they align with your security and operational requirements. This can help you manage and monitor your AWS resources effectively.
select name, arn, jsonb_pretty(policy) as policy, jsonb_pretty(policy_std) as policy_stdfrom aws_eventbridge_bus;
select name, arn, policy, policy_stdfrom aws_eventbridge_bus;
Schema for aws_eventbridge_bus
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
account_id | text | =, !=, ~~, ~~*, !~~, !~~* | The AWS Account ID in which the resource is located. |
akas | jsonb | Array of globally unique identifier strings (also known as) for the resource. | |
arn | text | = | The Amazon Resource Name (ARN) of the account permitted to write events to the current account. |
name | text | = | The name of the event bus. |
partition | text | The AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov). | |
policy | jsonb | The policy that enables the external account to send events to your account. | |
policy_std | jsonb | Contains the policy that enables the external account to send events to your account in a canonical form for easier searching. | |
region | text | The AWS Region in which the resource is located. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
tags | jsonb | A map of tags for the resource. | |
tags_src | jsonb | A list of tags assigned to the bus. | |
title | text | Title of the resource. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- aws
You can pass the configuration to the command with the --config
argument:
steampipe_export_aws --config '<your_config>' aws_eventbridge_bus