Class ConnectorEnvironmentVarsProvider
- java.lang.Object
-
- com.amazonaws.athena.connector.integ.providers.ConnectorEnvironmentVarsProvider
-
public class ConnectorEnvironmentVarsProvider extends Object
Responsible for providing the Connector's Environment vars added to the Connector's stack attributes and used in the creation of the Lambda.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>
getVars(TestConfig testConfig)
Gets the environment variables used for configuring the Lambda function (e.g. spill_bucket, etc...)
-
-
-
Method Detail
-
getVars
public static Map<String,String> getVars(TestConfig testConfig)
Gets the environment variables used for configuring the Lambda function (e.g. spill_bucket, etc...)- Parameters:
testConfig
- A Map containing the test configuration attributes extracted from a config file.- Returns:
- Map containing the Lambda's environment variables and their associated values if the vars are included in test-config.json.
-
-