Lambda support for Kinesis enhanced fan-out has been released but without CloudFormation support.
Until then, this plugin uses Lambda-backed CloudFormation Custom Resources to configure things for you.
consumer to your Kinesis stream event mapping:
functions:hello:events:- stream:type: kinesisconsumer: true # will auto-generate a name for the consumerarn: ...- stream:type: kinesisconsumer: customConsumerNamearn: ...
This is the only configuration necessary. Keep in mind ehanced fan-out has additional costs.