Cloudformation Custom Resource framework