# CfnRoutingControlProps

Properties for defining a `CfnRoutingControl`.

Used as props by: [CfnRoutingControl](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53recoverycontrol.CfnRoutingControl.html)

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53recoverycontrol as route53recoverycontrol } from 'aws-cdk-lib';
const cfnRoutingControlProps: route53recoverycontrol.CfnRoutingControlProps = {
  name: 'name',

  // the properties below are optional
  clusterArn: 'clusterArn',
  controlPanelArn: 'controlPanelArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_route53recoverycontrol as route53recoverycontrol

cfn_routing_control_props = route53recoverycontrol.CfnRoutingControlProps(
    name="name",

    # the properties below are optional
    cluster_arn="clusterArn",
    control_panel_arn="controlPanelArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.route53recoverycontrol.*;

CfnRoutingControlProps cfnRoutingControlProps = CfnRoutingControlProps.builder()
        .name("name")

        // the properties below are optional
        .clusterArn("clusterArn")
        .controlPanelArn("controlPanelArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53RecoveryControl;

var cfnRoutingControlProps = new CfnRoutingControlProps {
    Name = "name",

    // the properties below are optional
    ClusterArn = "clusterArn",
    ControlPanelArn = "controlPanelArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnRoutingControlProps := &CfnRoutingControlProps{
	Name: jsii.String("name"),

	// the properties below are optional
	ClusterArn: jsii.String("clusterArn"),
	ControlPanelArn: jsii.String("controlPanelArn"),
}
```

## Properties

- `clusterArn`: string | [IClusterRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_route53recoverycontrol.IClusterRef.html) — The Amazon Resource Name (ARN) of the cluster that hosts the routing control.

- `controlPanelArn`: string | [IControlPanelRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_route53recoverycontrol.IControlPanelRef.html) — The Amazon Resource Name (ARN) of the control panel that includes the routing control.

- `name`: string (required) — The name of the routing control.

  You can use any non-white space character in the name.
