'Get the port. Where this information is retrieved from is engine dependent.'

def _get_port(self):

    if (self.data['Engine'] == 'memcached'):
        return self.data['ConfigurationEndpoint']['Port']
    elif (self.data['Engine'] == 'redis'):
        return self.data['CacheNodes'][0]['Endpoint']['Port']
