CfnRecoveryGroupPropsMixin
- class aws_cdk.mixins_preview.aws_route53recoveryreadiness.mixins.CfnRecoveryGroupPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a recovery group in Amazon Route 53 Application Recovery Controller.
A recovery group represents your application. It typically consists of two or more cells that are replicas of each other in terms of resources and functionality, so that you can fail over from one to the other, for example, from one Region to another. You create recovery groups so you can use readiness checks to audit resources in your application.
For more information, see Readiness checks, resource sets, and readiness scopes in the Amazon Route 53 Application Recovery Controller Developer Guide.
Route 53 ARC Readiness supports us-east-1 and us-west-2 AWS Regions only.
- See:
- CloudformationResource:
AWS::Route53RecoveryReadiness::RecoveryGroup
- 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_route53recoveryreadiness import mixins as route53recoveryreadiness_mixins cfn_recovery_group_props_mixin = route53recoveryreadiness_mixins.CfnRecoveryGroupPropsMixin(route53recoveryreadiness_mixins.CfnRecoveryGroupMixinProps( cells=["cells"], recovery_group_name="recoveryGroupName", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Route53RecoveryReadiness::RecoveryGroup.- Parameters:
props (
Union[CfnRecoveryGroupMixinProps,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 = ['cells', 'recoveryGroupName', '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