Skip to content

Commit 90a268b

Browse files
authored
Update README.md
1 parent cefc1ef commit 90a268b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ plugins:
1818
Define something to setting of AWS services you want to integrate with under `custom > apiGatewayServiceProxy` and run `serverless deploy`.
1919

2020
### Kinesis
21+
Here is syntax for Kinesis proxy in serverless.yml.
2122
```yaml
2223
custom:
2324
apiGatewayServiceProxy:
@@ -34,3 +35,11 @@ resources:
3435
Properties:
3536
ShardCount: 1
3637
```
38+
39+
Here is sample request after deploying.
40+
```
41+
curl -XPOST https://xxxxxxx.execute-api.us-east-1.amazonaws.com/dev/kinesis -d '{"Data": "some data","PartitionKey": "some key"}' -H 'Content-Type:application/json'
42+
43+
```
44+
45+

0 commit comments

Comments
 (0)