Skip to content
v2.278.0

CfnControlPanelProps Struct ​

Properties for defining a CfnControlPanel.

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 cfnControlPanelProps: route53recoverycontrol.CfnControlPanelProps = {
  name: 'name',

  // the properties below are optional
  clusterArn: 'clusterArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# 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_control_panel_props = route53recoverycontrol.CfnControlPanelProps(
    name="name",

    # the properties below are optional
    cluster_arn="clusterArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.*;

CfnControlPanelProps cfnControlPanelProps = CfnControlPanelProps.builder()
        .name("name")

        // the properties below are optional
        .clusterArn("clusterArn")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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 cfnControlPanelProps = new CfnControlPanelProps {
    Name = "name",

    // the properties below are optional
    ClusterArn = "clusterArn",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnControlPanelProps := &CfnControlPanelProps{
	Name: jsii.String("name"),

	// the properties below are optional
	ClusterArn: jsii.String("clusterArn"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

clusterArnoptionalstring | IClusterRefcluster_arnoptionaltyping.Union[str, IClusterRef]clusterArnoptionalStringClusterArnoptionalstringClusterArnoptionalinterface{} #
The Amazon Resource Name (ARN) of the cluster for the control panel.
namestringnamestrnameStringNamestringName*string required #
The name of the control panel.

You can use any non-white space character in the name.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags associated with the control panel.