This message was deleted.
# getting-started
s
This message was deleted.
h
You need to create the kinesis and the lambda separately and bind them using the EventSourceMapping object from lambda, like this:
Copy code
lambdaEventSourceMapping = aws.lambda_.EventSourceMapping(
    resource_name = 'lambda-event-source-mapping',
    event_source_arn = kinesisStream.arn,
    function_name = lambdaFunction.name,
    starting_position = "TRIM_HORIZON"
)