CfnRoutingControlProps Struct
Properties for defining a CfnRoutingControl.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
clusterArnoptionalstring | IClusterRefcluster_arnoptionaltyping.Union[str, IClusterRef]clusterArnoptionalStringClusterArnoptionalstringClusterArnoptionalinterface{} #The Amazon Resource Name (ARN) of the cluster that hosts the routing control.
controlPanelArnoptionalstring | IControlPanelRefcontrol_panel_arnoptionaltyping.Union[str, IControlPanelRef]controlPanelArnoptionalStringControlPanelArnoptionalstringControlPanelArnoptionalinterface{} #The Amazon Resource Name (ARN) of the control panel that includes the routing control.
The name of the routing control.
You can use any non-white space character in the name.