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

export interface DsOrderableClusterArgs {
  clusterType?: string | core.StringOut;

  clusterVersion?: string | core.StringOut;

  nodeType?: string | core.StringOut;

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

export class DsOrderableCluster extends core.Data<DsOrderableClusterArgs> {
  @core.attr(String, { computed: true, kind: "array" })
  public availabilityZones!: core.Array<string> | core.ArrayOut<core.StringOut>;

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

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

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

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

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

  constructor(name: string, args?: DsOrderableClusterArgs) {
    super(name, "aws_redshift_orderable_cluster", args);
  }

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