# CfnStreamConsumerProps

Properties for defining a `CfnStreamConsumer`.

Extends: CfnStreamConsumerProps
Used as props by: CfnStreamConsumer

- Source: Generated code
- Type last changed: v2.205.0 · 15 Jul 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesis as kinesis } from 'aws-cdk-lib';
const cfnStreamConsumerProps: kinesis.CfnStreamConsumerProps = {
  consumerName: 'consumerName',
  streamArn: 'streamArn',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `consumerName`: string (required) — The name of the consumer is something you choose when you register the consumer.

- `streamArn`: string (required) — The ARN of the stream with which you registered the consumer.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of tags to be added to a specified Kinesis resource.

  A tag consists of a required key and an optional value. You can specify up to 50 tag key-value pairs.
