Update/ Add CanarySetting in Aws::ApiGateway::Deployment is not working

I’m trying to add CanarySetting in ApiGateway Deployment through serverless, we have created resources and methods from the serverless, but in the deployment of Apigateway, when we are trying to add CanarySetting, it was not allowing. is there any work around to add CanarySetting in Apigateway scripts to enable canary at apigateway level for particular stage.

Thanks for help :slightly_smiling_face: