This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ####### Event bus ####### | |
// Create the bus | |
const bus = new events.EventBus(this, "myEventBus"); | |
new cdk.CfnOutput(this, "BusName", {value: bus.eventBusName}); | |
// ####### Connection ####### | |
// Create connection for API Destination to use. This example uses basic auth. Check the docs for other options. | |
const myConnection = new events.CfnConnection(this, 'myConnection',{ |