if userName is the slot that you want to access in your lambda,
then use the below sentence:
nameOfUser = this.event.request.intent.slots.userName;
Now the value of username can be accessed using nameOfUser.value .
then use the below sentence:
nameOfUser = this.event.request.intent.slots.userName;
Now the value of username can be accessed using nameOfUser.value .