Assign an specific IAM role for each lambda function using a role defined in aws account

The documentation https://serverless.com/framework/docs/providers/aws/guide/iam/ mentions allowing directly specifying the role as you are trying. Is the role getting created with the name that you provided or some other default name?