Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down