Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
postsa committed Dec 14, 2023
1 parent 8cb5b89 commit 12b8815
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 12b8815

Please sign in to comment.