Renaming Resource in CloudFormation Template

Can you rename a resource in a CloudFormation template? Let's say I've created a stack template that creates a single lambda function. GetTheFunnyPhraseText: Type: AWS::Serverless::Function