Back
The AWS has introduced Environment variables for accessing in the Lambda function. I could not find any documentation which shows how to access the environment variables from the Lambda function using Java. Can anyone help me?
Use this:
System.getenv("NAME_OF_YOUR_ENVIRONMENT_VARIABLE")
Learn how we helped 50,000+ professionals like you !
31k questions
32.8k answers
501 comments
693 users