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

export interface MskconnectWorkerConfigurationArgs extends core.ResourceArgs {
  description?: string | core.StringOut;

  name: string | core.StringOut;

  propertiesFileContent: string | core.StringOut;
}

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

  @core.attr(String)
  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)
  public propertiesFileContent!: string | core.StringOut;

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

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