Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
postsa committed Oct 9, 2023
1 parent c339c63 commit 5e9f8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-events/lib/event-bus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export class EventBus extends EventBusBase {
throw new Error('Event Bus policy statements must have a sid');
}

new EventBusPolicy(this, statement.sid, {
const policy = new EventBusPolicy(this, statement.sid, {
eventBus: this,
statement: statement.toJSON(),
statementId: statement.sid,
Expand Down

0 comments on commit 5e9f8ab

Please sign in to comment.