@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:37.874Z") @Stability(value=Stable) public class CfnControlPanel extends CfnResource implements IInspectable
Creates a new control panel. 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 an Availability Zone or AWS Region .
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. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnControlPanel(Construct scope,
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 |
|---|---|
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.
|
Number |
getAttrRoutingControlCount()
The number of routing controls in the control panel.
|
String |
getAttrStatus()
The deployment status of control panel.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getClusterArn()
The Amazon Resource Name (ARN) of the cluster for the control panel.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setClusterArn(String value)
The Amazon Resource Name (ARN) of the cluster for the control panel.
|
void |
setName(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, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnControlPanel(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnControlPanel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnControlPanel(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrControlPanelArn()
@Stability(value=Stable) @NotNull public IResolvable getAttrDefaultControlPanel()
@Stability(value=Stable) @NotNull public Number getAttrRoutingControlCount()
@Stability(value=Stable) @NotNull public String getAttrStatus()
Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getName()
You can use any non-white space character in the name.
@Stability(value=Stable)
public void setName(@NotNull
String value)
You can use any non-white space character in the name.
@Stability(value=Stable) @Nullable public String getClusterArn()
@Stability(value=Stable)
public void setClusterArn(@Nullable
String value)
Copyright © 2022. All rights reserved.