Can I run 'aws' command during 11ty build

I need to run aws s3 to get some data files during 11ty build.
So my question is: is it possible to run aws command during build if deploying with netlify?
Thanks

Yeah why not? You might need something like this: @aws-sdk/client-s3 - npm, and then create a Node.js script and use that.

Wow, that sounds really good.
Can I run something like aws s3 sync ... directly with a script from package.json ?

Yeah, I don’t see a problem with that.