How to delete a Lambda function using AWS CLI

0 votes

Hi Team,

I have one lambda function in AWS. I want to delete the function. How can I do that from CLI?

Nov 5, 2020 in AWS by akhtar
• 38,180 points
253 views

1 answer to this question.

0 votes

Hi@akhtar,

You can delete a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. The following delete-function example deletes the Lambda function named my-function.

$ aws lambda delete-function --function-name my-function
answered Nov 5, 2020 by MD
• 95,240 points

Related Questions In AWS

0 votes
1 answer

How to download the latest file in a S3 bucket using AWS CLI?

You can use the below command $ aws ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,150 points
12,595 views
0 votes
1 answer

How to delete a lambda function?

You can simply do it from the ...READ MORE

answered Dec 20, 2018 in AWS by Nabarupa
1,397 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to update aws lambda function using aws cli?

Hi@akhtar, You can update your Lambda function in ...READ MORE

answered Sep 22, 2020 in AWS by MD
• 95,240 points
991 views
0 votes
1 answer

How to create a Lambda function with AWS CLI?

Hi@akhtar, To create a function, you need a ...READ MORE

answered Nov 5, 2020 in AWS by MD
• 95,240 points
270 views