DescribeEventBus
Source:
src/AWS/EventBridge/DescribeEventBus.ts
Reads the configuration of an EventBridge event bus
(events:DescribeEventBus).
Bind this operation to an EventBus inside a function runtime to get
a callable that automatically injects the bus name. Provide the
DescribeEventBusHttp layer on the Function to satisfy the binding.
Describing Event Buses
Section titled “Describing Event Buses”// init — bind the bus (provide AWS.EventBridge.DescribeEventBusHttp on the Function)const describeEventBus = yield* AWS.EventBridge.DescribeEventBus(bus);
// runtime — read the bus configurationconst info = yield* describeEventBus();console.log(info.Arn, info.Policy);