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

export interface ControlPanelArgs extends core.ResourceArgs {
  clusterArn: string | core.StringOut;

  name: string | core.StringOut;
}

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

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

  @core.attr(Boolean, { computed: true })
  public defaultControlPanel!: boolean | core.BooleanOut;

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

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

  @core.attr(Number, { computed: true })
  public routingControlCount!: number | core.NumberOut;

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

  constructor(name: string, args?: ControlPanelArgs) {
    super(name, "aws_route53recoverycontrolconfig_control_panel", args);
  }

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