Class CfnRoutingControl
Creates a routing control in Amazon Route 53 Application Recovery Controller.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Route53RecoveryControl
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRoutingControl : CfnResource, IInspectable
Syntax (vb)
Public Class CfnRoutingControl
Inherits CfnResource
Implements IInspectable
Remarks
Routing control states are maintained on the highly reliable cluster data plane.
To get or update the state of the routing control, you must specify a cluster endpoint, which is an endpoint URL and an AWS Region. For more information, see Code examples in the Amazon Route 53 Application Recovery Controller Developer Guide.
CloudformationResource: AWS::Route53RecoveryControl::RoutingControl
ExampleMetadata: fixture=_generated
Examples
// 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 cfnRoutingControl = new CfnRoutingControl(this, "MyCfnRoutingControl", new CfnRoutingControlProps {
Name = "name",
// the properties below are optional
ClusterArn = "clusterArn",
ControlPanelArn = "controlPanelArn"
});
Synopsis
Constructors
CfnRoutingControl(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnRoutingControl(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnRoutingControl(Construct, String, ICfnRoutingControlProps) |
Properties
AttrRoutingControlArn | The Amazon Resource Name (ARN) of the routing control. |
AttrStatus | The deployment status of the routing control. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ClusterArn | The Amazon Resource Name (ARN) of the cluster that hosts the routing control. |
ControlPanelArn | The Amazon Resource Name (ARN) of the control panel that includes the routing control. |
Name | The name of the routing control. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnRoutingControl(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnRoutingControl(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnRoutingControl(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnRoutingControl(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnRoutingControl(Construct, String, ICfnRoutingControlProps)
public CfnRoutingControl(Construct scope, string id, ICfnRoutingControlProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnRoutingControlProps
Resource properties.
Properties
AttrRoutingControlArn
The Amazon Resource Name (ARN) of the routing control.
public virtual string AttrRoutingControlArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: RoutingControlArn
AttrStatus
The deployment status of the routing control.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
CloudformationAttribute: Status
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ClusterArn
The Amazon Resource Name (ARN) of the cluster that hosts the routing control.
public virtual string ClusterArn { get; set; }
Property Value
System.String
ControlPanelArn
The Amazon Resource Name (ARN) of the control panel that includes the routing control.
public virtual string ControlPanelArn { get; set; }
Property Value
System.String
Name
The name of the routing control.
public virtual string Name { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>