AWS S3 - server action create Bucket - is it possible to setup cors at the same time?

Hi, i was wondering if anyone has been able to setup CORS at the same time as creating a new bucket in AWS?

thanks