Connect AppSync to DynamoDB with AWS CDK (JS resolvers)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 19

  • @richardthompson6962
    @richardthompson6962 6 หลายเดือนก่อน

    Great vid - also be great if you could do a video on Amplify Gen 2 using their custom model implementation in appSync and how to extend using custom field resolvers using CDK together with the default Amplify stack

    • @focusotter
      @focusotter  6 หลายเดือนก่อน

      Latest video (and repo) with Clerk covers exactly that :)

  • @taranveerjohal175
    @taranveerjohal175 ปีที่แล้ว +1

    Hi can i get an example for subscriptions ? Thanks in advance

  • @ankushjain358
    @ankushjain358 11 หลายเดือนก่อน +1

    Here, we have both the apps, UI & CDK using typescript so we can share the codegen generated types. But if use flutter, then we have to maintain types (generated by codegen) in dart as well as typescript. Right?

    • @focusotter
      @focusotter  11 หลายเดือนก่อน

      Yup, you got it!

  • @emmanueltd7628
    @emmanueltd7628 11 หลายเดือนก่อน +1

    you havent comitted anything in the repo?

  • @enriquecordero6163
    @enriquecordero6163 ปีที่แล้ว +1

    JS resolver can be used for any case or if you need something more complex then a lambda is used? I have an app in appsync but I only use lambda but thanks to you I am going to change when I use dynamoDb

    • @focusotter
      @focusotter  ปีที่แล้ว

      Hey Enrique! A good rule of thumb is if you need an external package from npm them a Lambda may be needed. Thanks for joining the stream!

  • @jonathanacevedo5141
    @jonathanacevedo5141 ปีที่แล้ว +1

    Hi @focusotter, the repo doesn't contain all the files. Thank you very much for your videos!

    • @focusotter
      @focusotter  11 หลายเดือนก่อน

      Oh thanks for calling that out, I'll look into this today!

    • @jonathanacevedo5141
      @jonathanacevedo5141 11 หลายเดือนก่อน

      @@focusotter Thank you very much!

    • @uncoolcoder
      @uncoolcoder 10 หลายเดือนก่อน

      @@focusotter no backend files

    • @focusotter
      @focusotter  10 หลายเดือนก่อน +1

      Here is a all new starter repo that contains all the topics covered in this video and more! github.com/focusOtter/fullstack-nextjs-cdk-starter@@uncoolcoder

    • @uncoolcoder
      @uncoolcoder 10 หลายเดือนก่อน

      @@focusotter Thank you!

  • @killingbillGaming
    @killingbillGaming 9 หลายเดือนก่อน

    Can you have one resolver per Table instead of one resolver per query/mutation?

  • @freekeys
    @freekeys 5 หลายเดือนก่อน

    There are many simple JavaScript codes that are not supported in the resolver. Sometimes we need to use the resolver, but when the code is not supported, we move to Lambda functions.

  • @enriquecordero6163
    @enriquecordero6163 ปีที่แล้ว +1

    Is there any advantage to using vtl vs using lambdas, besides cold start

    • @focusotter
      @focusotter  ปีที่แล้ว +1

      Hey! Yea, there are still a couple:
      1. Scalability: Lambda does an amazing job scaling due to being serverless, but AppSync VTL (better yet, JS resolvers) are not only serverless, but functionless.
      2. Cost: Less Lambda functions means less services to manage and account for.
      3. Observability: XRay and other observability tools can give a more consistent picture of what is happening.

    • @scotttang6229
      @scotttang6229 ปีที่แล้ว

      Looks like AWS is moving away from VTL and recommend JS resolvers. Check out the VTL doc