Skip to content

Commit dba2961

Browse files
committed
remove commented dynomoDB code
1 parent 322f52b commit dba2961

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

cdk/lib/footballnotificationslambda.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -81,27 +81,6 @@ export class FootballNotificationsLambda extends GuStack {
8181
}),
8282
);
8383

84-
// const dynamoTable = new Table(this, 'DynamoTable', {
85-
// tableName: dynamoTableName,
86-
// partitionKey: { name: 'notificationId', type: AttributeType.STRING },
87-
// billingMode: BillingMode.PROVISIONED,
88-
// readCapacity: 3,
89-
// writeCapacity: 3,
90-
// timeToLiveAttribute: 'ttl',
91-
// removalPolicy: RemovalPolicy.RETAIN,
92-
// });
93-
// Tags.of(dynamoTable).add('devx-backup-enabled', 'true');
94-
//
95-
// footballnotificationslambda.addToRolePolicy(
96-
// new PolicyStatement({
97-
// actions: ['dynamodb:PutItem', 'dynamodb:UpdateItem', 'dynamodb:Query'],
98-
// effect: Effect.ALLOW,
99-
// resources: [
100-
// `arn:aws:dynamodb:${region}:${account}:table/${dynamoTableName}`,
101-
// ],
102-
// }),
103-
// );
104-
10584
// Read Throttle Events Alarm
10685
new GuAlarm(this, 'MobileNotificationsFootballConsumedReadThrottleEvents', {
10786
app,

0 commit comments

Comments
 (0)