This is a gem that clone CloudFront. This gem can convert CloudFront configs to varnish config language. Please set your credentials and write CloudFront instance ID in "cfcloner.rb".
The gem is available as open source under the terms of the MIT License.