import software.amazon.awscdk.integtests.*; LambdaInvokeFunction lambdaInvokeFunction = LambdaInvokeFunction.Builder.create(this, "MyLambdaInvokeFunction") .functionName("functionName") // the properties below are optional .invocationType(InvocationType.EVENT) .logType(LogType.NONE) .payload("payload") ...