import * as core from "@terrascript/core";

export interface DsStreamConsumerArgs {
  arn?: string | core.StringOut;

  name?: string | core.StringOut;

  streamArn: string | core.StringOut;
}

export class DsStreamConsumer extends core.Data<DsStreamConsumerArgs> {
  @core.attr(String, { computed: true })
  public arn?: string | core.StringOut;

  @core.attr(String, { computed: true })
  public creationTimestamp!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public name?: string | core.StringOut;

  @core.attr(String, { computed: true })
  public status!: string | core.StringOut;

  @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";
  }
}
