Aws codebuild as worker node with drone

Hey all! Can anyone help me with setting codebuild with drone, currently I am using drone ecr plugin to build and upload my images on ecr but it is taking a lot of time, in past I worked on gcp and I was using cloudbuild to build images and upload them on gcr from drone.
Now I want to do same thing on aws i.e. build images on codebuild and upload them on ecr(I want to use codebuild as my workernode for building images) from drone.
If anyone know about it or had done it please help me.
Thanks!