def METHOD_NAME(self, function_name: str, function_code: str):
    role_arn = self._create_role_and_get_arn()
    self.client.create_function(
        FunctionName=function_name,
        Runtime="python3.8",
        Role=role_arn,
        Handler="lambda_function.lambda_handler",
        Code={
            "ZipFile": get_as_zip_file("lambda_function.py", function_code)
        },
        Description="test lambda function",
        Timeout=3,
        MemorySize=128,
        Publish=True,
    )