One Observability Workshop v3.0.0
One Observability Workshop / constructs/eventbus / EventBusResources
Class: EventBusResources¶
Defined in: constructs/eventbus.ts:53
AWS CDK Construct that creates EventBridge EventBus resources EventBusResources
Extends¶
Construct
Constructors¶
Constructor¶
new EventBusResources(
scope,id,properties?):EventBusResources
Defined in: constructs/eventbus.ts:66
Creates a new EventBusResources construct
Parameters¶
scope¶
Construct
The parent construct
id¶
string
The construct ID
properties?¶
Configuration properties for the construct
Returns¶
EventBusResources
Overrides¶
Construct.constructor
Properties¶
eventBus¶
eventBus:
EventBus
Defined in: constructs/eventbus.ts:58
The EventBridge EventBus
Methods¶
importFromExports()¶
staticimportFromExports(scope,id):object
Defined in: constructs/eventbus.ts:88
Imports EventBus resources from CloudFormation exports created by EventBusResources
Parameters¶
scope¶
Construct
The construct scope where the resources will be imported
id¶
string
The construct identifier for the imported resources
Returns¶
object
Object containing the imported EventBus
eventBus¶
eventBus:
IEventBus