🚀 Enhancement
- #640 EventBus: add high level construct for AWS EventBridge (@fwang)
import { EventBus } from "@serverless-stack/resources"; new EventBus(this, "MyBus", { rules: { myRule: { eventPattern: { source: ["aws.codebuild"] }, targets: ["src/target1.main", "src/target2.main"], }, }, });
Update using:
$ npm install --save --save-exact @serverless-stack/cli@0.37.0 @serverless-stack/resources@0.37.0