Make S3 bucket upload capability target-based