You would probably use something like a queue[0] that takes in data from the websocket and dishes it out to lambda functions. You might also use something like Kinesis[1] or other alternatives.
[0] https://aws.amazon.com/sqs/ [1] https://aws.amazon.com/kinesis/