[{"data":1,"prerenderedAt":64},["ShallowReactive",2],{"pattern-apigw-lambda-sagemaker-jumpstartendpoint-cdk-python":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":29,"level":30,"meta":31,"patternArch":32,"resources":51,"s3URL":6,"services":6,"stem":59,"testing":60,"videoId":6,"__hash__":63},"patterns\u002Fpatterns\u002Fapigw-lambda-sagemaker-jumpstartendpoint-cdk-python.json","Amazon SageMaker endpoint via Amazon API Gateway and AWS Lambda",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fkaustav-dey.json",{"text":13},[14],"cdk deploy","Deploys a SageMaker Jumpstart model endpoint and an API Gateway endpoint.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-lambda-sagemaker-jumpstartendpoint-cdk-python","serverless-patterns\u002Fapigw-lambda-sagemaker-jumpstartendpoint-cdk-python","apigw-lambda-sagemaker-jumpstartendpoint-cdk-python","stack\u002FApigwLambdaSagemakerJumpstartendpointStack.py",{"headline":25,"text":26},"How it works",[27,28],"The model deployed in this pattern can be changed by modifying the MODEL_ID attribute in app.py file.","The API Gateway is protected using an API Key. To query the API Gateway endpoint, x-api-key header needs to be added to the HTTP request.","Python","300",{},{"icon1":33,"icon2":38,"icon3":41,"line1":45,"line2":49},{"x":34,"y":35,"service":36,"label":37},20,50,"apigw","Amazon API Gateway",{"x":35,"y":35,"service":39,"label":40},"lambda","AWS Lambda",{"x":42,"y":35,"service":43,"label":44},80,"sagemaker","Amazon SageMaker",{"from":46,"to":47,"label":48},"icon1","icon2","",{"from":47,"to":50,"label":48},"icon3",{"bullets":52},[53,56],{"text":54,"link":55},"Zero-shot prompting for the Flan-T5 foundation model in Amazon SageMaker JumpStart","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fmachine-learning\u002Fzero-shot-prompting-for-the-flan-t5-foundation-model-in-amazon-sagemaker-jumpstart\u002F",{"text":57,"link":58},"Instruction fine-tuning for FLAN T5 XL with Amazon SageMaker Jumpstart","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fmachine-learning\u002Finstruction-fine-tuning-for-flan-t5-xl-with-amazon-sagemaker-jumpstart\u002F","patterns\u002Fapigw-lambda-sagemaker-jumpstartendpoint-cdk-python",{"text":61},[62],"See the GitHub repo for detailed testing instructions.","D3Rotpt3uBpYAMp7REBTqpF-uVmecG4WUACvQMEQ0t0",1778927705328]