Hi,
Is there any way to subscribe Lambda function to all Kinesis streams?
Such configuration doesn’t work:
events:
- stream:
type: kinesis
arn: arn:aws:kinesis:#{AWS::Region}:#{AWS::AccountId}:stream/*
It throws an error: Received Exception while reading from provided stream. 1 validation error detected: Value ‘*’ at ‘streamName’ failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z0-9_.-]+
I suppose that CloudFormation doesn’t allow using patterns in arn definition, but is there any other solution?