In this video I would like to show you to create microservice HTTP endpoints with a management console.
So that means I will I will create the same architecture into the environment bit using the shortcut
of this creating infrastructure.
So for that purpose I'm going to open a lambda function.
If you come to lambda functions and come to the beginning of the lambda functions, I would like to
show one more way to create API gateway with a lambda for synchronous invocations.
So go to lambda function and create function.
And this time we are going to use a blueprint.
This is the building lambda application from the sample code and configurations present for common use
case if you search for the microservices.
You can see the microservice HTTP endpoint that we can choose this blueprint to create simple back and
read write to dynamic DB and restful API endpoint using API Gateway.
So if you click the configure.
You can see that this is going to create end to end architecture of this architecture API, gateway,
lambda function and dynamic DB and to perform CRUD operation from the scratch and provide from the blueprint
from the ADA as it is required.
The function name.
If you scroll down, give the role name and you can see that the policy template comes from the simple
microservice permission.
And if you scroll down you can see the API gateway that we can create an API gateway, HTTP or rest,
or we can use existing API gateway.
And if you scroll down you can see the lambda function code that implementing the CRUD operations with
using the Dynamo DB SDK package and the code is copied from this place one we copy from our lambda function
in the last videos, we already copy code from this place and this code is looking for the incoming
event method and the perform CRUD operation with invoking the Dynamo DB API to perform, scan, delete,
put and update commands.
So basically as you can see that we have also showed additional way to create and perform CRUD operations
in our services and we have finished to create restful microservices with using API at Lambda and Dynamo
DB on the management console.