@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:25.224Z") public class CfnControlPanel extends CfnResource implements IInspectable
Creates a new control panel in Amazon Route 53 Application Recovery Controller. A control panel represents a group of routing controls that can be changed together in a single transaction. You can use a control panel to centrally view the operational status of applications across your organization, and trigger multi-app failovers in a single transaction, for example, to fail over from one AWS Region (cell) to another.
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.*; CfnControlPanel cfnControlPanel = CfnControlPanel.Builder.create(this, "MyCfnControlPanel") .name("name") // the properties below are optional .clusterArn("clusterArn") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnControlPanel.Builder
A fluent builder for
CfnControlPanel . |
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 |
---|---|
|
CfnControlPanel(Construct scope,
java.lang.String id,
CfnControlPanelProps props)
Create a new `AWS::Route53RecoveryControl::ControlPanel`.
|
protected |
CfnControlPanel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnControlPanel(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrControlPanelArn()
The Amazon Resource Name (ARN) of the control panel.
|
IResolvable |
getAttrDefaultControlPanel()
The boolean flag that is set to true for the default control panel in the cluster.
|
java.lang.Number |
getAttrRoutingControlCount()
The number of routing controls in the control panel.
|
java.lang.String |
getAttrStatus()
The deployment status of control panel.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getClusterArn()
The Amazon Resource Name (ARN) of the cluster for the control panel.
|
java.lang.String |
getName()
The name of the control panel.
|
TagManager |
getTags()
The value for a tag.
|
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 for the control panel.
|
void |
setName(java.lang.String value)
The name of the control panel.
|
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 CfnControlPanel(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnControlPanel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnControlPanel(Construct scope, java.lang.String id, CfnControlPanelProps 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 getAttrControlPanelArn()
public IResolvable getAttrDefaultControlPanel()
public java.lang.Number getAttrRoutingControlCount()
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 TagManager getTags()
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)