Skip to content

How does the CreateCommandsInvoker work? #35

Answered by ytausch
multimeric asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

CreateCommandsFunction is the lambda backend of an AWS Lambda-backed custom resource. In fact, CreateCommandsInvoker is exactly the name of the custom resource which declares CreateCommandsFunction as its backend. You can see that by looking at the Type attribute of CreateCommandsInvoker in template.yaml - it has the format Custom::XXX.

That means: If CreateCommandsInvoker is created during stack creation, CloudFormation itself makes a request to CreateCommandsFunction which is then responsible for setting up the commands and responding back to CloudFormation that everything went fine. A lot of this request and response logic happens in our dependency cfn-lambda.

The same thing happen…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ytausch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants