Untitled
Anonymous
plain_text
05/23/2024 6:53 PM
544 B
15
Indexable
# Define the Lambda function name and the output file name FUNCTION_NAME=<your-function-name> OUTPUT_FILE_NAME=<output-file-name>.zip # Get the pre-signed URL for the Lambda function's deployment package PRE_SIGNED_URL=$(aws lambda get-function --function-name $FUNCTION_NAME --query 'Code.Location' --output text) # Download the deployment package using curl curl -o $OUTPUT_FILE_NAME "$PRE_SIGNED_URL"
Editor is loading...
Leave a Comment