CfnStreamConsumerProps

class aws_cdk.aws_kinesis.CfnStreamConsumerProps(*, consumer_name, stream_arn)

Bases: object

Properties for defining a CfnStreamConsumer.

Parameters
  • consumer_name (str) – The name of the consumer is something you choose when you register the consumer.

  • stream_arn (str) – The ARN of the stream with which you registered the consumer.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_kinesis as kinesis

cfn_stream_consumer_props = kinesis.CfnStreamConsumerProps(
    consumer_name="consumerName",
    stream_arn="streamArn"
)

Attributes

consumer_name

The name of the consumer is something you choose when you register the consumer.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html#cfn-kinesis-streamconsumer-consumername

Return type

str

stream_arn

The ARN of the stream with which you registered the consumer.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html#cfn-kinesis-streamconsumer-streamarn

Return type

str