CfnControlPanelPropsMixin

class aws_cdk.cfn_property_mixins.aws_route53recoverycontrol.CfnControlPanelPropsMixin(props, *, strategy=None)

Bases: Mixin

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-controlpanel.html

CloudformationResource:

AWS::Route53RecoveryControl::ControlPanel

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_route53recoverycontrol as route53recoverycontrol
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_control_panel_props_mixin = route53recoverycontrol.CfnControlPanelPropsMixin(route53recoverycontrol.CfnControlPanelMixinProps(
    cluster_arn="clusterArn",
    name="name",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::Route53RecoveryControl::ControlPanel.

Parameters:
  • props (Union[CfnControlPanelMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['clusterArn', 'name', 'tags']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.