Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cdk/lib/__snapshots__/liveactivities.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ exports[`The LiveActivities stack matches the snapshot for CODE 1`] = `
},
"BroadcastRule3D75643B": {
"Properties": {
"Description": "Route broadcast update/end events from football to broadcast lambda",
"EventBusName": {
"Ref": "EventsD32975C2",
},
Expand Down Expand Up @@ -229,6 +230,7 @@ exports[`The LiveActivities stack matches the snapshot for CODE 1`] = `
},
"ChannelRule421C2920": {
"Properties": {
"Description": "Route channel create/delete events from football to channel manager lambda",
"EventBusName": {
"Ref": "EventsD32975C2",
},
Expand Down Expand Up @@ -320,6 +322,7 @@ exports[`The LiveActivities stack matches the snapshot for CODE 1`] = `
},
"InitialBroadcastRule538D106F": {
"Properties": {
"Description": "Route initial broadcast update event from channel manager to broadcast lambda",
"EventBusName": {
"Ref": "EventsD32975C2",
},
Expand Down
6 changes: 6 additions & 0 deletions cdk/lib/liveactivities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ export class LiveActivities extends GuStack {
detailType: ['channel-create', 'channel-delete'],
},
targets: [new LambdaFunction(channelLambda)],
description:
'Route channel create/delete events from football to channel manager lambda',
});

new Rule(this, 'BroadcastRule', {
Expand All @@ -262,6 +264,8 @@ export class LiveActivities extends GuStack {
detailType: ['broadcast-update', 'broadcast-end'],
},
targets: [new LambdaFunction(broadcastLambda)],
description:
'Route broadcast update/end events from football to broadcast lambda',
});

new Rule(this, 'InitialBroadcastRule', {
Expand All @@ -271,6 +275,8 @@ export class LiveActivities extends GuStack {
detailType: ['broadcast-update'],
},
targets: [new LambdaFunction(broadcastLambda)],
description:
'Route initial broadcast update event from channel manager to broadcast lambda',
});
}
}
Loading