You should be able to use the Amazon S3 origin as is, choosing XML as the Data Format and specifying Compressed File as the Compression Format. Do you have errors with that configuration?