import * as core from "@terrascript/core"; export interface DsStreamConsumerArgs { /** * (Optional) Amazon Resource Name (ARN) of the stream consumer. */ arn?: string | core.StringOut; /** * (Optional) Name of the stream consumer. */ name?: string | core.StringOut; /** * (Required) Amazon Resource Name (ARN) of the data stream the consumer is registered with. */ streamArn: string | core.StringOut; } export class DsStreamConsumer extends core.Data { /** * (Optional) Amazon Resource Name (ARN) of the stream consumer. */ @core.attr(String, { computed: true }) public arn?: string | core.StringOut; /** * Approximate timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of when t * he stream consumer was created. */ @core.attr(String, { computed: true }) public creationTimestamp!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the stream consumer. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Name of the stream consumer. */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * The current status of the stream consumer. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * (Required) Amazon Resource Name (ARN) of the data stream the consumer is registered with. */ @core.attr(String) public streamArn!: string | core.StringOut; constructor(name: string, args?: DsStreamConsumerArgs) { super(name, "aws_kinesis_stream_consumer", args); } public override getNamespace(): string { return "aws_kinesis"; } }