How to create a script statically in Logstash 7.17

I see Script params via Logstash, is it possible? - #6 by Luca_Belluccini