Skip to content

Commit

Permalink
Fixing typos on LCDC Lab (#114)
Browse files Browse the repository at this point in the history
Co-authored-by: Lee Hannigan <[email protected]>
  • Loading branch information
LeeroyHannigan and Lee Hannigan authored Apr 10, 2024
1 parent bc01458 commit a87fff2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions content/change-data-capture/ex2/configure-lambda.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight: 220
chapter: true
---

Configure your lambda function to copy changed records from the Orders DynamoDB streams to the OrdersHistory table.
Configure your lambda function to copy changed records from the Orders Kinesis Data Stream to the OrdersHistory table.

1. Go to the IAM dashboard on the AWS Management Console and inspect the IAM policy, i.e. **AWSLambdaMicroserviceExecutionRole...**, created when you created the **create-order-history-kds** lambda function.

Expand Down Expand Up @@ -87,7 +87,7 @@ arn:aws:lambda:{aws-region}:017000801446:layer:AWSLambdaPowertoolsPythonV2:58
![AWS Lambda function console](/static/images/change-data-capture/ex1/new-env-var.png)

8. Go to the configuration section of the lambda console editor. Select **Triggers** then select **Add trigger**.
9. Select **DynamoDB** as the trigger source.
9. Select **Kinesis** as the trigger source.
10. Select the **Orders** DynamoDB table.
11. Set the **Batch size** to **10** and leave all other values unchanged.

Expand Down
2 changes: 1 addition & 1 deletion content/change-data-capture/ex2/enable-kds-streams.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Confirm that the stream is active using the following command.
```bash
aws kinesis describe-stream \
--stream-name Orders \
--query "StreamDescription.[StreamStatus, StreamARN]
--query "StreamDescription.[StreamStatus, StreamARN]"
```

Sample output:
Expand Down
2 changes: 1 addition & 1 deletion content/change-data-capture/ex2/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ chapter: true

Data on Amazon Kinesis Data Streams is by default available for 24 hours after the data is written to the stream and the retention period can be increased to a maximum of 365 days.

Amazon DynamoDB has naitve integration with Kinesis streams so Kinesis Data Streams can also be used to record item level changes to DynamoDB tables.
Amazon DynamoDB has native integration with Kinesis streams so Kinesis Data Streams can also be used to record item level changes to DynamoDB tables.

In this chapter, you will repeat the process of capturing item level changes on a DynamoDB table and write those changes to a different DynamoDB table. But in this section, change data capture will be done using Amazon Kinesis Data Streams.

Expand Down

0 comments on commit a87fff2

Please sign in to comment.