From 4861f2db5803e759dbfa4fd02d4c6d02952d0c15 Mon Sep 17 00:00:00 2001 From: geemus Date: Fri, 14 Jan 2011 11:34:03 -0800 Subject: [PATCH] [aws|cdn] document that ports are optional --- lib/fog/cdn/requests/aws/post_distribution.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/cdn/requests/aws/post_distribution.rb b/lib/fog/cdn/requests/aws/post_distribution.rb index 30a395533..2a9ebf075 100644 --- a/lib/fog/cdn/requests/aws/post_distribution.rb +++ b/lib/fog/cdn/requests/aws/post_distribution.rb @@ -16,8 +16,8 @@ module Fog # or # * 'CustomOrigin'<~Hash>: # * 'DNSName'<~String> - origin to associate with distribution, ie 'www.example.com' - # * 'HTTPPort'<~Integer> - HTTP port of origin, in [80, 443] or (1024...65535) - # * 'HTTPSPort'<~Integer> - HTTPS port of origin, in [80, 443] or (1024...65535) + # * 'HTTPPort'<~Integer> - Optional HTTP port of origin, in [80, 443] or (1024...65535), defaults to 80 + # * 'HTTPSPort'<~Integer> - Optional HTTPS port of origin, in [80, 443] or (1024...65535), defaults to 443 # * 'OriginProtocolPolicy'<~String> - Policy on using http vs https, in ['http-only', 'match-viewer'] # OPTIONAL: # * 'CallerReference'<~String> - Used to prevent replay, defaults to Time.now.to_i.to_s