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

export interface DsMskConfigurationArgs {
  name: string | core.StringOut;
}

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

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

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

  @core.attr(String, { computed: true, kind: "array" })
  public kafkaVersions!: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(Number, { computed: true })
  public latestRevision!: number | core.NumberOut;

  @core.attr(String)
  public name!: string | core.StringOut;

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

  constructor(name: string, args?: DsMskConfigurationArgs) {
    super(name, "aws_msk_configuration", args);
  }

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