aws-samples / aws-lambda-fanout

A sample AWS Lambda function that accepts messages from an Amazon Kinesis Stream and transfers the messages to another data transport.
Apache License 2.0
288 stars 60 forks source link

Periods are not supported in Kinesis source ARN #24

Closed wilso closed 6 years ago

wilso commented 7 years ago

It looks like the current sourceRegex does not support periods in Kinesis Stream names like arn:aws:kinesis:us-east-1:123456789012:stream/name.with.periods. The Kinesis Streams Service API Reference suggests the pattern [a-zA-Z0-9_.-]+ for StreamName.

Adding the missing period to sourceRegex seems to fix the problem.