[{"data":1,"prerenderedAt":67},["ShallowReactive",2],{"pattern-lambda-furl-dynamodb-sam-go":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":30,"level":31,"meta":32,"patternArch":33,"resources":51,"s3URL":60,"services":6,"stem":61,"testing":62,"videoId":6,"__hash__":66},"patterns\u002Fpatterns\u002Flambda-furl-dynamodb-sam-go.json","AWS Lambda function URL to Amazon DynamoDB",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>",[13],"content\u002Fcontributors\u002Fabhishek-gupta.json",{"text":15},[16],"sam deploy --guided","Create Lambda function with a function URL that inserts an item into the Amazon DynamoDB table.","json","AWS SAM",{"template":21},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"lambda-functionurl-dynamodb-sam-go","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-functionurl-dynamodb-sam-go","serverless-patterns\u002Flambda-functionurl-dynamodb-sam-go","template.yaml",{"headline":27,"text":28},"How it works",[29],"The Lambda function URL exposes an HTTP(s) endpoint. When an HTTP `POST` request with the right payload is sent to this endpoint the Lambda function is invoked and inserts an item into the Amazon DynamoDB table (named `users`).","Go","200",{},{"icon1":34,"icon2":38,"icon3":41,"line1":45,"line2":49},{"x":35,"y":36,"service":37,"label":37},20,50,"",{"x":36,"y":36,"service":39,"label":40},"lambda","AWS Lambda",{"x":42,"y":36,"service":43,"label":44},80,"dynamodb","Amazon DynamoDB",{"from":46,"to":47,"label":48},"icon1","icon2","Function url",{"from":47,"to":50,"label":37},"icon3",{"headline":52,"bullets":53},"Additional resources",[54,57],{"text":55,"link":56},"Announcing AWS Lambda Function URLs","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fannouncing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices\u002F",{"text":58,"link":59},"Lambda function URLs","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Flambda-urls.html","https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fpatterns\u002Flambda-furl-dynamodb-sam-go\u002Fcloudformation.yml","patterns\u002Flambda-furl-dynamodb-sam-go",{"headline":63,"text":64},"Testing",[65],"See the GitHub repo for detailed testing instructions.","Lk47fwIYLuwKeASDm-nE_X0_hOxqBYYz-TwMVe0Mgqc",1779273337408]