addLambdaEnvironmentVariables
AWS Lambda environment variables are used to adjust the function's behavior without updating the code. An environment variable is a key-value pair that is stored in a function's version-specific configuration. Lambda runtime makes environment variables available to our code and sets additional environment variables that contain information about the function and invocation request. Using the environment variables file or input argument, we can add the function environment variables. This operation will use the configured AWS cloud account to perform the operation.
Target Properties
Property Name | Property Code | Type | Required | Description |
AWS Cloud Account |
| String | Yes | AWS cloud account name. |
AWS CLI Path |
| String | No | The path to the directory where AWS CLI is installed. |
Inputs
Input Name | Input Code | Type | Required | Description |
Additional Arguments |
| String | No | Literal key-value pairs. e.g. --region=us-east-1 --memory-size=512 --timeout=33 |
| String | No | Environment variables in acceptable format |
Project PropertiesÂ
Property Name | Property Code | Type | Required | Description |
Lambda Function Name |
| String | No | In the case that Function Name is not given, the name of the Environment Variable File will be considered as function name. |
| String | No | If the file does not exist at the path given, then the path will be considered relative and operation will search the file in the artifacts directory. If no file is found in the artifacts directory with given path, then it will check for the file in Archive present in the artifacts directory. | |
KMS Detail |
| String | No* | Key Id or Key ARN details. *For any secured variables, this property is required. |
Artifacts
This operation will consume artifacts (in the case that an Environment Variable File is provided). The operation will look for the property file within artifacts and use the file to update the Lambda environment variables.
Endpoint Selection
This operation will select all available endpoints associated with the target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
- style