Support for PutQueryDefinition was added to Logs Insights recently, and it would be useful to be able to manage these definitions via CFN so that they can be deployed to multiple environments consistently.
Proposing AWS::Logs::QueryDefinition as the resource type for this.
Name, which will be the unique key for saved query definitions. When creating, specification of a log group name that doesn't exist should NOT be an error.API doc at https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutQueryDefinition.html
Mentioned in Terraform issues at https://github.com/terraform-providers/terraform-provider-aws/issues/13223
N/A
This would be a fantastic gain for any service operators. Having the queries stored on CloudWatch, and the ability to deploy that as a CFN stack / substack would be super nice.
Most helpful comment
This would be a fantastic gain for any service operators. Having the queries stored on CloudWatch, and the ability to deploy that as a CFN stack / substack would be super nice.