You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/dynamodbstreams.md
+24-23Lines changed: 24 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The stream records are written to a DynamoDB stream, which is an ordered flow of
11
11
DynamoDB Streams records data in near-real time, enabling you to develop workflows that process these streams and respond based on their contents.
12
12
13
13
LocalStack supports DynamoDB Streams, allowing you to create and manage streams in a local environment.
14
-
The supported APIs are available on our [DynamoDB Streams coverage page]({{< ref "coverage_dynamodbstreams" >}}), which provides information on the extent of DynamoDB Streams integration with LocalStack.
14
+
The supported APIs are available on our [DynamoDB Streams coverage page](), which provides information on the extent of DynamoDB Streams integration with LocalStack.
15
15
16
16
## Getting started
17
17
@@ -30,14 +30,14 @@ We will demonstrate the following process using LocalStack:
30
30
You can create a DynamoDB table named `BarkTable` using the [`CreateTable`](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html) API.
You can now create an event source mapping using the [`CreateEventSourceMapping`](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html) API.
165
165
Run the following command to create the event source mapping:
Make sure to replace the `event-source` value with the stream ARN you obtained from the previous command.
176
176
You should see the following output:
@@ -189,11 +189,11 @@ You should see the following output:
189
189
You can now test the event source mapping by adding an item to the `BarkTable` table using the [`PutItem`](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html) API.
190
190
Run the following command to add an item to the table:
You can find Lambda functionbeing triggered in the LocalStack logs.
199
199
@@ -202,9 +202,9 @@ You can find Lambda function being triggered in the LocalStack logs.
202
202
You can list the streams using the [`ListStreams`](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ListStreams.html) API.
203
203
Run the following command to list the streams:
204
204
205
-
{{<command>}}
205
+
```bash
206
206
awslocal dynamodbstreams list-streams
207
-
{{< /command >}}
207
+
```
208
208
209
209
The following output shows the list of streams:
210
210
@@ -223,8 +223,9 @@ The following output shows the list of streams:
223
223
You can also describe the stream using the [`DescribeStream`](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeStream.html) API.
0 commit comments