This CloudFormation template registers a consumer with an Amazon Kinesis Data Stream. It takes in the ARN of the stream and the name of the consumer as parameters.

CloudFormation Template