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

export interface DsMskKafkaVersionArgs {
  preferredVersions?: core.Array<string> | core.ArrayOut<core.StringOut>;

  version?: string | core.StringOut;
}

export class DsMskKafkaVersion extends core.Data<DsMskKafkaVersionArgs> {
  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String, { kind: "array" })
  public preferredVersions?: core.Array<string> | core.ArrayOut<core.StringOut>;

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

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

  constructor(name: string, args?: DsMskKafkaVersionArgs) {
    super(name, "aws_msk_kafka_version", args);
  }

  public override getNamespace(): string {
    return "aws_managed_streaming_for_kafka";
  }
}
