You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(events): event bus name only generated if no props passed (#18153)
Since the `EventBus` resource requires a name, CDK will generate
one for you.
However, because of the way the logic was written, it would only
generate one for you if you did NOT pass a props object. In effect,
these two statements would have a different effect:
```ts
new EventBus(this, 'Bus');
new EventBus(this, 'Bus', {});
```
Fix that issue.
Fixes#18070.
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
0 commit comments