How to get Alias name of AWS Lambda function from java code

+1 vote
Apr 1, 2020 in Java by Abhishek
• 280 points
2,163 views

1 answer to this question.

+1 vote

Hey @Abhishek, you could probably use the context object for this purpose. This context object could be passed to the lambda handler to get that data. 

For more info, have a look at https://docs.aws.amazon.com/lambda/latest/dg/java-context-object.html

Hope this helps!

answered Apr 1, 2020 by Sirajul
• 59,230 points
Yes got it thanks a lot for quick reply.
Hey @Abhishek, thanks for your contribution! Do upvote the answer in case you found it helpful.

For every contribution that you make (upvote, ask or answer a question, choose it as best answer etc) You would gain points that would strengthen your profile!

Cheers!

Related Questions In Java

0 votes
1 answer

In Java, how to find out the min/max values from array of primitive data types?

import java.util.Arrays; import java.util.Collections; import org.apache.commons.lang.ArrayUtils; public class MinMaxValue { ...READ MORE

answered Jun 12, 2018 in Java by Daisy
• 8,140 points
1,606 views
0 votes
1 answer

How to get the IP address of the machine using Java?

One approach is to use NetworkInterface.getNetworkInterfaces() to get all ...READ MORE

answered Jun 25, 2018 in Java by sharth
• 3,370 points
947 views
0 votes
1 answer

How to get the name of the currently executing method?

Thread.currentThread().getStackTrace() will usually contain the method you’re ...READ MORE

answered Jul 5, 2018 in Java by Daisy
• 8,140 points
809 views
0 votes
1 answer

How to run Unix shell script from Java code?

ProcessBuilder pb = new ProcessBuilder("myshellScript.sh", "myArg1", "myArg2"); ...READ MORE

answered Oct 26, 2018 in Java by Daisy
• 8,140 points
6,455 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

How do I get the size of a java.sql.ResultSet?

You could probably do rows-count. ResultSet rs = ...READ MORE

answered Aug 22, 2019 in Java by Sirajul
• 59,230 points
12,989 views
0 votes
2 answers

How do I get distinct element from list in java?

You should use a Set. it doesn't contain duplicates. If ...READ MORE

answered Aug 23, 2019 in Java by Sirajul
• 59,230 points
2,138 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP