import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Use the AWS CloudFormation <code>AWS::Kinesis::StreamConsumer</code> resource to register a consumer with a Kinesis data stream. The consumer you register can then call <a href="https://docs.aws.amazon.com/kinesis/latest/APIReference/API_SubscribeToShard.html">SubscribeToShard</a> to receive data from the stream using enhanced fan-out, at a rate of up to 2 MiB per second for every shard you subscribe to. This rate is unaffected by the total number of consumers that read from the same stream.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html">the AWS Docs</a>
*/
export function streamConsumer(streamConsumerProps) {
    return new AwsResource('AWS::Kinesis::StreamConsumer', streamConsumerProps, { ConsumerCreationTimestamp: 'ConsumerCreationTimestamp', ConsumerName: 'ConsumerName', ConsumerARN: 'ConsumerARN', ConsumerStatus: 'ConsumerStatus', StreamARN: 'StreamARN' });
}
