import * as core from "@terrascript/core"; export interface RoutingControlArgs extends core.ResourceArgs { /** * (Required) ARN of the cluster in which this routing control will reside. */ clusterArn: string | core.StringOut; /** * (Optional) ARN of the control panel in which this routing control will reside. */ controlPanelArn?: string | core.StringOut; /** * (Required) The name describing the routing control. */ name: string | core.StringOut; } export class RoutingControl extends core.Resource { /** * ARN of the routing control. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) ARN of the cluster in which this routing control will reside. */ @core.attr(String) public clusterArn!: string | core.StringOut; /** * (Optional) ARN of the control panel in which this routing control will reside. */ @core.attr(String, { computed: true }) public controlPanelArn?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name describing the routing control. */ @core.attr(String) public name!: string | core.StringOut; /** * Status of routing control. `PENDING` when it is being created/updated, `PENDING_DELETION` when it is * being deleted, and `DEPLOYED` otherwise. */ @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"; } }