Update the AWS Lambda function code if the function already exists. The operation can update the function code from the AWS ECR, S3 Bucket, and local Archive directory. AWS ECR option will take priority, if AWS ECR detail is not given, then the operation will check for S3 bucket related details and if both AWS ECR and S3 options are not given, then the operation will use the local Archive directory option to update the function code. 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 The operation will use the configured AWS cloud account to perform the operation.
...
Property Name | Property Code | Type | Required | Description |
Lambda Function Name | FDAWS_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 | FDAWS_LAMBDA_KMS_KEY_OR_ARN | 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 | FDAWS_LAMBDA_ARTIFACT_FILE_PATH | 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. |
FDAWS_LAMBDA_ENV_VAR_FILE_PATH | 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. | |
S3 Bucket Name | FDAWS_LAMBDA_S3_BUCKET_NAME | String | No | S3 Bucket Name Where Zip file present |
S3 Key Name | FDAWS_LAMBDA_S3_KEY_NAME | String | No | S3 Key Name of the Zip file |
S3 Object Version | FDAWS_LAMBDA_S3_OBJECT_VERSION | String | No | S3 Object Version value |
URI of a Container Image | FDAWS_LAMBDA_ECR_REGISTRY_URL | String | No | URI of a container image in the Amazon ECR registry |
Outputs
Output Name | Output Code | Optional | Description |
Response Message | FDAWS_LAMBDA_OUT_UPDATE_CODE_RESP_MSG | No | Response message of the update Function Code API. |
Function Version Number | FDAWS_LAMBDA_OUT_UPDATE_CODE_PUBLISHED_VER | No | Version number of newly published version. |
...