Skip to content

Create Routing Control

route53recoverycontrolconfig_create_routing_control R Documentation

Creates a new routing control

Description

Creates a new routing control.

A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.

To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.

Usage

route53recoverycontrolconfig_create_routing_control(ClientToken,
  ClusterArn, ControlPanelArn, RoutingControlName)

Arguments

ClientToken

A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.

ClusterArn

[required] The Amazon Resource Name (ARN) of the cluster that includes the routing control.

ControlPanelArn

The Amazon Resource Name (ARN) of the control panel that includes the routing control.

RoutingControlName

[required] The name of the routing control.

Value

A list with the following syntax:

list(
  RoutingControl = list(
    ControlPanelArn = "string",
    Name = "string",
    RoutingControlArn = "string",
    Status = "PENDING"|"DEPLOYED"|"PENDING_DELETION",
    Owner = "string"
  )
)

Request syntax

svc$create_routing_control(
  ClientToken = "string",
  ClusterArn = "string",
  ControlPanelArn = "string",
  RoutingControlName = "string"
)