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

export interface DsSelectionArgs {
  planId: string | core.StringOut;

  selectionId: string | core.StringOut;
}

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

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

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

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

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

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

  constructor(name: string, args?: DsSelectionArgs) {
    super(name, "aws_backup_selection", args);
  }

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