title: AWS SAM - How to specify the name of your function
body: <p>I'm trying the <a href="http://docs.aws.amazon.com/lambda/latest/dg/serverless-deploy-wt.html" rel="noreferrer">Create Your Own Serverless Application</a> and I see that the name of the function is specified in the YAML template but when it gets deployed it creates a lambda with a composite name based on:</p>
  
  <p><code>CloudFormation stack + Lambda function + Some Id.</code></p>
  
  <p>My questions is: Is there a way to override the name of the function when using AWS SAM?</p>
  
  <p>Thanks</p>