Skip to content

Commit 1214bfc

Browse files
Update dynamodb_lambda_stack.py (#301)
Small typo fixes
1 parent 6d9a3a0 commit 1214bfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/dynamodb-lambda/dynamodb_lambda/dynamodb_lambda_stack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
2929

3030
producer_lambda.add_environment("TABLE_NAME", demo_table.table_name)
3131

32-
# grant permission to lamnbda to write to demo table
32+
# grant permission to lambda to write to demo table
3333
demo_table.grant_write_data(producer_lambda)
3434

3535
# create consumer lambda function
@@ -40,7 +40,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
4040

4141
consumer_lambda.add_environment("TABLE_NAME", demo_table.table_name)
4242

43-
# grant permission to lamnbda to read from demo table
43+
# grant permission to lambda to read from demo table
4444
demo_table.grant_read_data(consumer_lambda)
4545

4646
# create a Cloudwatch Event rule

0 commit comments

Comments
 (0)