From ba12cdba2189f96833f918ef7ffd8e3bc956e587 Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Sat, 13 Jun 2020 22:04:00 -0500 Subject: [PATCH] Update dynamodb_lambda_stack.py Small typo fixes --- .../dynamodb-lambda/dynamodb_lambda/dynamodb_lambda_stack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/dynamodb-lambda/dynamodb_lambda/dynamodb_lambda_stack.py b/python/dynamodb-lambda/dynamodb_lambda/dynamodb_lambda_stack.py index b907daaae..c048f33dc 100644 --- a/python/dynamodb-lambda/dynamodb_lambda/dynamodb_lambda_stack.py +++ b/python/dynamodb-lambda/dynamodb_lambda/dynamodb_lambda_stack.py @@ -29,7 +29,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None: producer_lambda.add_environment("TABLE_NAME", demo_table.table_name) - # grant permission to lamnbda to write to demo table + # grant permission to lambda to write to demo table demo_table.grant_write_data(producer_lambda) # create consumer lambda function @@ -40,7 +40,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None: consumer_lambda.add_environment("TABLE_NAME", demo_table.table_name) - # grant permission to lamnbda to read from demo table + # grant permission to lambda to read from demo table demo_table.grant_read_data(consumer_lambda) # create a Cloudwatch Event rule