steampipe plugin install aws

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_std
from
aws_eventbridge_bus;
select
name,
arn,
policy,
policy_std
from
aws_eventbridge_bus;

Schema for aws_eventbridge_bus

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
account_idtextThe AWS Account ID in which the resource is located.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
arntext=The Amazon Resource Name (ARN) of the account permitted to write events to the current account.
nametext=The name of the event bus.
partitiontextThe AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov).
policyjsonbThe policy that enables the external account to send events to your account.
policy_stdjsonbContains the policy that enables the external account to send events to your account in a canonical form for easier searching.
regiontextThe AWS Region in which the resource is located.
tagsjsonbA map of tags for the resource.
tags_srcjsonbA list of tags assigned to the bus.
titletextTitle 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