# Serverless.com without lambda?

**URL:** <https://forum.serverless.com/t/serverless-com-without-lambda/3929>\
**Category:** Serverless Framework\
**Created:** [March 3, 2018, 9:49pm UTC](https://forum.serverless.com/t/serverless-com-without-lambda/3929 "2018-03-03T21:49:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ktwbc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/ktwbc/32/764_2.png) [@ktwbc](https://forum.serverless.com/u/ktwbc)\
**Post date:** [March 3, 2018, 9:49pm UTC](https://forum.serverless.com/t/serverless-com-without-lambda/3929/1 "2018-03-03T21:49:19Z")

</div>

Is there any sample code or demos of a serverless.yml where you create API Gateway calls in AWS that talks to DynamoDb directly and not through a lambda function? You can do this through the AWS panel but would prefer to manage it through serverless. I have a use case where I need to query a key in dynamodb, for an open public api call, and writing even a 10 line lambda function to just query that adds overhead (time) to the call that’s pointless.

---

<div class="post-metadata">

**Author:** ![outmarch](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/outmarch/32/1259_2.png) [@outmarch](https://forum.serverless.com/u/outmarch)\
**Post date:** [January 26, 2019, 5:49pm UTC](https://forum.serverless.com/t/serverless-com-without-lambda/3929/2 "2019-01-26T17:49:15Z")

</div>

@ktwbc you able to resolve this? please share if got any solution …

---

<div class="post-metadata">

**Author:** ![DavidWells](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/davidwells/32/201_2.png) [@DavidWells](https://forum.serverless.com/u/DavidWells)\
**Post date:** [January 26, 2019, 11:10pm UTC](https://forum.serverless.com/t/serverless-com-without-lambda/3929/3 "2019-01-26T23:10:39Z")

</div>

You can make direct calls to dynamo from the client with the aws-sdk + cognito

See [https://aws.amazon.com/blogs/mobile/building-fine-grained-authorization-using-amazon-cognito-user-pools-groups/](https://aws.amazon.com/blogs/mobile/building-fine-grained-authorization-using-amazon-cognito-user-pools-groups/)

---

<div class="post-metadata">

**Author:** ![ktwbc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/ktwbc/32/764_2.png) [@ktwbc](https://forum.serverless.com/u/ktwbc)\
**Post date:** [January 14, 2021, 8:16pm UTC](https://forum.serverless.com/t/serverless-com-without-lambda/3929/4 "2021-01-14T20:16:42Z")

</div>

I found [https://www.serverless.com/plugins/serverless-apigateway-service-proxy](https://www.serverless.com/plugins/serverless-apigateway-service-proxy) which is what I was looking for
