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

export interface MskScramSecretAssociationArgs extends core.ResourceArgs {
  clusterArn: string | core.StringOut;

  secretArnList: core.Array<string> | core.ArrayOut<core.StringOut>;
}

export class MskScramSecretAssociation extends core.Resource<MskScramSecretAssociationArgs> {
  @core.attr(String)
  public clusterArn!: string | core.StringOut;

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

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

  constructor(name: string, args?: MskScramSecretAssociationArgs) {
    super(name, "aws_msk_scram_secret_association", args);
  }

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