Passing Variable dynamically from Jenkins

I am deploying aws-apis using serverless by calling it in Jenkins pipeline using cli

serverless deploy --stage {ENVIRONMENT} --aws-profile same --region {REGION}

In my serverless.yaml file I want to use these 2 variables to set specific environment and region. How could I refer these 2 variables. I will then create new external config files based on environment and region and refer those dynamically in serverless yaml.
Thank you