# File lib/fog/aws/elasticache.rb, line 46 def initialize(options={}) @use_iam_profile = options[:use_iam_profile] setup_credentials(options) options[:region] ||= 'us-east-1' @host = options[:host] || "elasticache.#{options[:region]}.amazonaws.com" @path = options[:path] || '/' @port = options[:port] || 443 @scheme = options[:scheme] || 'https' @connection = Fog::Connection.new( "#{@scheme}://#{@host}:#{@port}#{@path}", options[:persistent] ) end