title: Maven Deployment package and upload to AWS-Lambda
body: <p>I'm facing issue in uploading the maven deployment package to Amazon s3.</p>
  
  <p>From Eclipse, I'm able to generate the .jar file successfully, however I'm facing issue in uploading to server.</p>
  
  <p>Here is my Java code:</p>
  
  <pre><code>package main.java.mavantestproj;
  
  import java.util.Map;
  
  import com.amazonaws.auth.profile.ProfileCredentialsProvider;
  import com.amazonaws.regions.Regions;
  import com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient;
  import com.amazonaws.services.lambda.runtime.Context;
  
  public class LambdaFunctionHandler {
  
  
      public String handleRequest(Map&lt;String,Object&gt; input, Context context) {
          context.getLogger().log("Input: " + input);
  
          AmazonDynamoDBClient client = new AmazonDynamoDBClient(new ProfileCredentialsProvider("mytest"));
  
          client.setRegion(com.amazonaws.regions.Region.getRegion(Regions.US_WEST_2));
  
          client.describeTable("ProductCatalog");
          // TODO: implement your handler
          return null;
      }
  
  }
  </code></pre>
  
  <p>in target folder i have got 2 jar's. ie lambda-java-example-1.0-SNAPSHOT.jar &amp; original-lambda-java-example-1.0-SNAPSHOT.jar</p>
  
  <p>In this first jar is 35MB &amp; second one is 4KB. I'm not getting which one to upload to S3 to run my lambda function.</p>