Adds S3DirectUpload snippet