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

export interface CellArgs extends core.ResourceArgs {
  cellName: string | core.StringOut;

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

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;
}

export class Cell extends core.Resource<CellArgs> {
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

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

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

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

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

  @core.attr(String, { kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "map" })
  public tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;

  constructor(name: string, args?: CellArgs) {
    super(name, "aws_route53recoveryreadiness_cell", args);
  }

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