How to create and monitor an AWS lambda function in java 11

How to create and monitor an AWS lambda function in java 11