A standard ECS AMI from amazon was used and a mountpoint was created at /efs/ then nfs-utils was intalled. It was mounted like so:
sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2
Then it was added to fstab so each AMI when it boots to the cluster has it mounted as described here:
The same procedure was used to mount the EFS to the lightweight instance where the jobs are kicked off from (also using /efs/).
Lastly, the job definitions for AWS Batch are configured as follows:

This means that any files you provide as input on the command line when you launch AWS Batch will have precisely the same paths in the Docker containers as they do from the lightweight instance the AWS Batch jobs are launched from which is convenient for tabbing out arguments on the command line etc etc. I was using the AWS Batch API to create the job definitions and launch the jobs. It would love to use nextflow this way though!
Thank you,
Stephen