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

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

export class DsMskconnectWorkerConfiguration extends core.Data<DsMskconnectWorkerConfigurationArgs> {
  @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 propertiesFileContent!: string | core.StringOut;

  constructor(name: string, args?: DsMskconnectWorkerConfigurationArgs) {
    super(name, "aws_mskconnect_worker_configuration", args);
  }

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