updateLambdaFunctionCode
Update the AWS Lambda function code if the function already exists. The operation can update the function code from the local Archive directory. We can select the option to publish a new version, by default operation will not publish the new version. Using the Environment variables file or Input Argument we can also add the function Environment variables. 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. |
AWS Region |
| String | No | The default region found on the top right corner of the AWS management console. e.g.us-east-1 |
Project PropertiesÂ
Property Name | Property Code | Type | Required | Description |
Lambda Function Name |
| String | No | In case Function Name is not given, name of the code archive file will be considered as Function Name. |
KMS Detail |
| String | No | Key Id or Key ARN details. Key Id or Key ARN both are accepted. For any secured variables this detail is mandatory. |
Code archive File Name |
| String | No | Check if file exists on the given path, if file not exists then consider the path as relative path and operation will search the file in the $FD_ARTIFACT_DIR. If no file found using given path then check file in the entire Artifact directory. |
| String | No | If the file path is given, then check if file exists on the given path, if file not exists then consider the path as relative path and operation will search the file in the $FD_ARTIFACT_DIR. If no file found in the artifact directory with given path then check file in Archive present in Artifact directory. |
Inputs
Input Name | Input Code | Type | Required | Description |
| String | No | Environment Variables in acceptable format. | |
Publish new version |
| Boolean | No | Select to publish a new version. Default value is false. |
Additional Arguments |
| String | No | Literal key and value pairs, in the AWS CLI format. e.g. --region=us-east-1 |
Outputs
Output Name | Output Code | Description |
 Response Message |
| Response message of the update Function Code API. |
Function Version Number |
| Version number of newly published version. |
Artifacts
This operation will consume artifact, operation will look for the zip file in the artifact and if the zip file is present will use the file to update the function code.
Endpoint Selection
This operation will select all available endpoints associated to 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