public function getStackFactory($profile = null)
{
$cachKey = $profile ? $profile : '__empty__';
if (!isset($this->stackFactories[$cachKey])) {
$this->stackFactories[$cachKey] = new StackFactory($this->getCfnClient($profile));
}
return $this->stackFactories[$cachKey];
}