This is the DIY challenge of the Deploy RESTful APIs task in AWS Cloud Quest.
DIY Steps:
- Create a new Lambda function
diyFunction
- Copy paste the
vehicles_function.py
downloaded from Lab Files intodiyFunction
- Deploy
diyFunction
- Go back to API Gateway
ApiLab
- Create Resource under
/
, with Resource Namevehicles
- Create Resource under
/vehicles
, with Resource Nameid
and Resource Path{id}
- Create
GET
Method under both of these new Resources created in step 5 and 6 (remember to checkUse Lambda Proxy integration
) - Deploy API
Top comments (0)