I'm trying to update my lambda function code with jar from my local machine via AWS CLI. The aws lambda has commands to update function code for zip file but not for jar. I can upload by using s3 bucket, but I need to update from local itself.
I know following are the way to update from S3 bucket and for zip:
- aws lambda update-function-code --function-name --s3-bucket --s3-key
- aws lambda update-function-code --function-name --zip-file "fileb://"
I want to ask is there similar command exist for uploading jar as well?