aws-cloudformation / aws-cloudformation-resource-providers-logs

The CloudFormation Resource Provider Package For Amazon CloudWatch Logs
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html
Apache License 2.0
33 stars 35 forks source link

AWS::Logs::MetricFilter does not have a Unit property #66

Closed macdonaldezra closed 1 year ago

macdonaldezra commented 2 years ago

The optional Unit property of a MetricFilter can be specified when manually creating the filter, but there is no way to specify it in CloudFormation for the MetricFilter.

I found that Terraform also supports this attribute in their CloudWatch Log Metric Filter resource and am wondering if CloudFormation would support doing the same. Otherwise, if this attribute is not a priority, could I get some clarification as to why?

waifa commented 1 year ago

Units feature was added and can now be used as part of MetricFilters in CloudFormation.