My colleague and I have worked out how to do this.
I had to create a Cypress.env.json which contains a property and value that I want to use.
Then in my test I replace the
Then in the bamboo build process we can specify which environment to call by using something along the lines of:
cypress run --env host=kevin.dev.local,api_server=http://localhost:8888/api/v1