CfnClusterPropsMixin
- class aws_cdk.mixins_preview.aws_route53recoverycontrol.mixins.CfnClusterPropsMixin(props, *, strategy=None)
Bases:
MixinCreates 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:
- 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:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
ClusterEndpointProperty
- class CfnClusterPropsMixin.ClusterEndpointProperty(*, endpoint=None, region=None)
Bases:
objectA 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:
- 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.
- region
The AWS Region for a cluster endpoint.