How we can execute multiple function at same time or we can use multiple function in environmental variables in AWS lambda

Viewed 28

Suppose I have created two method read and insert in my springboot application( read method will fetch data from dynamodb while insert method will insert data into the database).And in spingboot application.property I have define spring.cloud.function.definiton=read;insert but in AWS lambda in environmental vairable I can only define one method at a time(either read or insert but not at same time),I am stuck at that point, so for resolving this problem I have create API using AWS API gateway but for read and insert API I have created two different lambda function,So is there any way either we can define both read and insert method parallel in aws environmental variable or using single lambda function we can hit API for both method????

1 Answers
Related