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

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

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

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

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

  constructor(name: string, args?: DsClusterAuthArgs) {
    super(name, "aws_eks_cluster_auth", args);
  }

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