The title actually says it all...
How do I send a generated PDF to Amazon S3, using Rails active storage?
I haven't used Rails Active Storage before. However I believe you would need to get the capture then upload it so you would need to use our Ruby callback handler. This would ensure it is asynchronous.
Note that if you want to just export to Amazon S3 you can use our built in export functionality.