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

export interface FiltersArgs extends core.SchemaArgs {
  application?: string | core.StringOut;

  prefix?: string | core.StringOut;
}

export class Filters extends core.Schema<FiltersArgs> {
  @core.attr(String)
  public application?: string | core.StringOut;

  @core.attr(String)
  public prefix?: string | core.StringOut;
}

export interface DsReleaseLabelsArgs {
  filters?: Filters;
}

export class DsReleaseLabels extends core.Data<DsReleaseLabelsArgs> {
  @core.attr(Filters)
  public filters?: Filters;

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

  /**
   * The returned release labels.
   */
  @core.attr(String, { computed: true, kind: "array" })
  public releaseLabels!: core.Array<string> | core.ArrayOut<core.StringOut>;

  constructor(name: string, args?: DsReleaseLabelsArgs) {
    super(name, "aws_emr_release_labels", args);
  }

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