CfnRecoveryGroupPropsMixin
- class aws_cdk.cfn_property_mixins.aws_route53recoveryreadiness.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.cfn_property_mixins import aws_route53recoveryreadiness as route53recoveryreadiness import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_recovery_group_props_mixin = route53recoveryreadiness.CfnRecoveryGroupPropsMixin(route53recoveryreadiness.CfnRecoveryGroupMixinProps( cells=["cells"], recovery_group_name="recoveryGroupName", tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::Route53RecoveryReadiness::RecoveryGroup.- Parameters:
props (
Union[CfnRecoveryGroupMixinProps,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 = ['cells', 'recoveryGroupName', 'tags']
Static Methods
- classmethod is_mixin(x)
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.