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

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

export class DsMskconnectCustomPlugin extends core.Data<DsMskconnectCustomPluginArgs> {
  @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(Number, { computed: true })
  public latestRevision!: number | core.NumberOut;

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

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

  constructor(name: string, args?: DsMskconnectCustomPluginArgs) {
    super(name, "aws_mskconnect_custom_plugin", args);
  }

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