Provides details about a Kinesis Stream Consumer.
For more details, see the Amazon Kinesis Stream Consumer Documentation.
data "aws_kinesis_stream_consumer" "example" {
name = "example-consumer"
stream_arn = aws_kinesis_stream.example.arn
}
arn
- (Optional) ARN of the stream consumer.name
- (Optional) Name of the stream consumer.stream_arn
- (Required) ARN of the data stream the consumer is registered with.This data source exports the following attributes in addition to the arguments above:
creation_timestamp
- Approximate timestamp in RFC3339 format of when the stream consumer was created.id
- ARN of the stream consumer.status
- Current status of the stream consumer.