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

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

  controlPanelArn?: string | core.StringOut;

  name: string | core.StringOut;
}

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

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

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

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

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

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

  constructor(name: string, args?: RoutingControlArgs) {
    super(name, "aws_route53recoverycontrolconfig_routing_control", args);
  }

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