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

export interface RecoveryGroupArgs extends core.ResourceArgs {
  cells?: core.Array<string> | core.ArrayOut<core.StringOut>;

  recoveryGroupName: string | core.StringOut;

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

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

export class RecoveryGroup extends core.Resource<RecoveryGroupArgs> {
  @core.attr(String, { computed: true })
  public arn!: 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)
  public recoveryGroupName!: string | 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?: RecoveryGroupArgs) {
    super(name, "aws_route53recoveryreadiness_recovery_group", args);
  }

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