Harry why.
And welcome back.
Now in the previous lecture we had created a simple hello world function.
Now what we do in this lecture is we create the API.
So we have a function which is created which when exactly that will display hello from a function.
So that is a string that gets displayed whenever this function is good.
Now since the user is outside of Amazon of us it might mean that the user wants to exit this specific
function which is internal.
So what they do will create the API which a user can use as a proxy to execute this specific function.
So the question is how to create.
And the answer is quite simple quite simple.
Now is because there is a great service which the rest of us call this Amazon EPA gateway.
So this service basically allows us to create an API in a nice UI manner.
So lets go ahead and click on get started.
So by default it will show you a sample API.
What we do is we create out one EPA EPA and you have to give our EPA.
So I think lapse.
And hello I found this would be this I were done the.
OK I'll go and click on the buffet.
So this is where we can define the EPA configuration.
Now if you go back to this light we have discussed that there are certain matters that EPA would support
depending upon the functionality.
So if it were in the auction we have the first thing that we need to do is we need to create a.
So I can create Metroid.
And in that matter there are various methods which are available.
So this is a simple Hello World.
The only matter that we need is get.
So this is quite important do not select any.
So if we delete does not mean they dont like any.
So does it follow the principle of least privilege.
So this is something that we have already discussed.
So if only one method is needed to deselect that matter only so many organizations they do this may
say that they support any number of methods.
And the hacker can take the lead and actually delete the resources of a specific backing system anyways
so eventually get
complete this.
So once the matter is still select day the next thing is the function.
So since we had created a Helliwell function in Lamda the indignation type and then it is asking me
the library in the library would be SE1 with Singapore and then our function in this Halward
both I'll click on say and I click on OK so what is this issue is that it is allowing EPA to invoke
this specific function.
So whenever someone makes a request to make EPA then the EPA in the back in word war execution of this
specific function.
So if we can.
OK.
Perfect.
So now you are having a nice little diagram or something similar to what we had discussed because it
is in the middle which calls the function.
So we'll be discussing about this in the relevant section.
But just remember that this is that line.
So on the left hand side you have a line and on the right hand side you have a function similar in your
on the left side.
You have a line on the right hand side you have a were referencing kindness with both feet.
So now that we have created our own mentor and our own function what we do is we go and diploidy.
So I can deploy EPA.
So you have to give the name.
I'll see there.
So this is of course the and then click on the brain.
So as soon as you click on deploy you'll see you get the EPA you are there.
So whenever someone hits this specific you are ready for the EPA the definition will be exact you behind
the scenes.
So I just copied and pasted in the browser and now you see Hello from EPA function.
So this is how you can design your own EPA.
So this is about the EPA creation lecture again whenever any day we will be more use cases and we will
be deploying new EPA new functions whenever that is needed.
So this is about this letter.
I hope this has been informative for you.
And again if you have any doubts citations or reviews feel free to connect us to Facebook calling our
military instructors at.