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

Add empty string as a valid input for metric filter pattern #19

Closed adam-daily closed 4 years ago

adam-daily commented 4 years ago

Issue #, if available:

Description of changes:

Currently, validation fails if the filter pattern is an empty string for a metric filter, but that is a valid filter pattern.

Registered the resource type with my account, and the filter successfully creates.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.