Reputation: 36219
Is there an AWS Java method to upload the zip file to AWS Lambda? All examples either use CLI aws
or upload via the website.
Upvotes: 4
Views: 3072
Reputation: 7116
I understand the question is about uploading the zip file but it can help someone else. If you are using Eclipse
then you can use the aws plugin
to package code and then upload as lambda function to AWS Account
.
Eclipse Plugin to Upload Java Lambda Function
Plugin will ask for the following information:
.aws
directory.Upvotes: 0
Reputation: 429
Using following link you can find out how to upload your Java based function to Lambda using Maven and CLI functionalities.
Following steps will help to You
http://docs.aws.amazon.com/lambda/latest/dg/create-deployment-pkg-zip-java.html
Upvotes: 0
Reputation: 4602
Read the following docs:
Learn how to use AWS Lambda to easily create infinitely scalable web services
Upvotes: 1
Reputation: 11931
You can use the createFunction or updateFunctionCode methods of the AWSLambdaClient class to upload the zip file to Lambda using the AWS SDK for Java.
Upvotes: 5