Some questions about serverless.ts

Hello, I would have some questions about serverless.ts.
I the how would I reference a value from another field?
How would I reference the value of an argument passed in the CLI?
Thanks for your help !