amazon web services - AWS Lambda and MongoDB -


i'm new aws lambda , interested in trying it. have mongodb instance want connect through aws lambda function. how connect mongo instance? can't load pymongo onto aws lambda how work in lambda function?

client = mongoclient() client = mongoclient("mongodb://xxxxxx:27017 username user --password") 

mongoclient can used connect mongodatabase lambda.

mongoclienturi mongoclienturi = new mongoclienturi(mongourl); mongoclient mongoclient = new mongoclient(mongoclienturi); mongodatabase db = mongoclient.getdatabase(mongodb); 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -