CfnClusterPropsMixin

class aws_cdk.mixins_preview.aws_route53recoverycontrol.mixins.CfnClusterPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a cluster in Amazon Route 53 Application Recovery Controller.

A cluster is a set of redundant Regional endpoints that you can run Route 53 ARC API calls against to update or get the state of one or more routing controls.

See:

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

CloudformationResource:

AWS::Route53RecoveryControl::Cluster

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_route53recoverycontrol import mixins as route53recoverycontrol_mixins

cfn_cluster_props_mixin = route53recoverycontrol_mixins.CfnClusterPropsMixin(route53recoverycontrol_mixins.CfnClusterMixinProps(
    name="name",
    network_type="networkType",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

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

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

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

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

Static Methods

classmethod is_mixin(x)

(experimental) 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.

Stability:

experimental

ClusterEndpointProperty

class CfnClusterPropsMixin.ClusterEndpointProperty(*, endpoint=None, region=None)

Bases: object

A cluster endpoint.

You specify one of the five cluster endpoints, which consists of an endpoint URL and an AWS Region, when you want to get or update a routing control state in the cluster.

For more information, see Code examples in the Amazon Route 53 Application Recovery Controller Developer Guide.

Parameters:
  • endpoint (Optional[str]) – A cluster endpoint URL for one of the five redundant clusters that you specify to set or retrieve a routing control state.

  • region (Optional[str]) – The AWS Region for a cluster endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-cluster-clusterendpoint.html

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.mixins_preview.aws_route53recoverycontrol import mixins as route53recoverycontrol_mixins

cluster_endpoint_property = route53recoverycontrol_mixins.CfnClusterPropsMixin.ClusterEndpointProperty(
    endpoint="endpoint",
    region="region"
)

Attributes

endpoint

A cluster endpoint URL for one of the five redundant clusters that you specify to set or retrieve a routing control state.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-cluster-clusterendpoint.html#cfn-route53recoverycontrol-cluster-clusterendpoint-endpoint

region

The AWS Region for a cluster endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-cluster-clusterendpoint.html#cfn-route53recoverycontrol-cluster-clusterendpoint-region