0 votes
1 view
in AWS by (18.2k points)

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?

1 Answer

0 votes
by (42.5k points)

Use this:

System.getenv("NAME_OF_YOUR_ENVIRONMENT_VARIABLE")

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...