@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:52.540Z") public class CfnRoutingControl extends CfnResource implements IInspectable
Defines a routing control. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
Example:
// 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.*; CfnRoutingControl cfnRoutingControl = CfnRoutingControl.Builder.create(this, "MyCfnRoutingControl") .name("name") // the properties below are optional .clusterArn("clusterArn") .controlPanelArn("controlPanelArn") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnRoutingControl.Builder
A fluent builder for
CfnRoutingControl . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnRoutingControl(Construct scope,
java.lang.String id,
CfnRoutingControlProps props)
Create a new `AWS::Route53RecoveryControl::RoutingControl`.
|
protected |
CfnRoutingControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRoutingControl(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrRoutingControlArn()
The Amazon Resource Name (ARN) of the routing control.
|
java.lang.String |
getAttrStatus()
The deployment status of the routing control.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getClusterArn()
The Amazon Resource Name (ARN) of the cluster that includes the routing control.
|
java.lang.String |
getControlPanelArn()
The Amazon Resource Name (ARN) of the control panel that includes the routing control.
|
java.lang.String |
getName()
The name of the routing control.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setClusterArn(java.lang.String value)
The Amazon Resource Name (ARN) of the cluster that includes the routing control.
|
void |
setControlPanelArn(java.lang.String value)
The Amazon Resource Name (ARN) of the control panel that includes the routing control.
|
void |
setName(java.lang.String value)
The name of the routing control.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnRoutingControl(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRoutingControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnRoutingControl(Construct scope, java.lang.String id, CfnRoutingControlProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrRoutingControlArn()
public java.lang.String getAttrStatus()
Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getName()
You can use any non-white space character in the name.
public void setName(java.lang.String value)
You can use any non-white space character in the name.
public java.lang.String getClusterArn()
public void setClusterArn(java.lang.String value)
public java.lang.String getControlPanelArn()
public void setControlPanelArn(java.lang.String value)