Renaming AWS Lambda function

0 votes
Is there a way to rename functions that I created for testing purposes? If yes how?
Apr 19, 2018 in AWS by brat_1
• 7,200 points
14,233 views

4 answers to this question.

0 votes

Try using an alias, that is one way you would be able to rename the version. This will help you change the version, but the actual name will remain the same after creation. You may simply create a a new function and copy the existing code, if you need a name change. This won’t cost extra.

Refer this if you wish to understand more: https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html

answered Apr 19, 2018 by hemant
• 5,790 points

edited Aug 20, 2018 by Priyaj
0 votes

The closest you can get to renaming the lambda function is using an alias, which is a way to name a specific version of a lambda. The actual name of the function though, is set once you create it. If you want to rename it, just create a new function and copy the exact same code into it. It won't cost you any extra to do this (since you are only charged for execution time) so you lose nothing.

For a reference on how to name versions of the lambda function check out the documentation here. Or For a detailed, You can even check out the details of Migrating to AWS with the AWS Cloud Migration Training.

answered Aug 20, 2018 by Priyaj
• 58,020 points
0 votes

You can't rename the function as the name becomes part of the endpoint. You can change the description by going into your function and hitting 'Configuration'. Regardless, I don't think it matters what your function is called as the customer will not see any of this. As long as you change whatever is needed in the developer portal which is ucstomer facing, you should be good.

answered Sep 3, 2018 by findingbugs
• 4,780 points
0 votes
Nope- the function name is immutable
answered Mar 7, 2019 by anonymous

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How to link AWS Lambda function to Amazon CloudWatch ?

In order to create Log Group and ...READ MORE

answered Jul 20, 2018 in AWS by datageek
• 2,540 points
1,584 views
0 votes
1 answer

Error when tried to invoke lambda function by AWS CLI

It looks like you need to provide ...READ MORE

answered Sep 10, 2018 in AWS by Archana
• 4,170 points
2,253 views
0 votes
1 answer
0 votes
1 answer
+2 votes
3 answers
+3 votes
6 answers

Renaming files in S3

You can either use AWS CLI or ...READ MORE

answered Oct 16, 2018 in AWS by petter dj
31,292 views
+3 votes
4 answers

Generating AWS billing details using aws java applications

There definitely are no applications that give ...READ MORE

answered Apr 9, 2018 in AWS by hemant
• 5,790 points
2,207 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP