CfnCellPropsMixin
- class aws_cdk.mixins_preview.aws_route53recoveryreadiness.mixins.CfnCellPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a cell in recovery group in Amazon Route 53 Application Recovery Controller.
A cell in Route 53 ARC represents replicas or independent units of failover in your application. It groups within it all the AWS resources that are necessary for your application to run independently. Typically, you would have define one set of resources in a primary cell and another set in a standby cell in your recovery group.
After you set up the cells for your application, you can create readiness checks in Route 53 ARC to continually audit readiness for AWS resource quotas, capacity, network routing policies, and other predefined rules.
You can set up notifications about changes that would affect your ability to fail over to a replica and recover. However, you should make decisions about whether to fail away from or to a replica based on your monitoring and health check systems. You should consider readiness checks as a complementary service to those systems.
Route 53 ARC Readiness supports us-east-1 and us-west-2 AWS Regions only.
- See:
- CloudformationResource:
AWS::Route53RecoveryReadiness::Cell
- 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_cell_props_mixin = route53recoveryreadiness_mixins.CfnCellPropsMixin(route53recoveryreadiness_mixins.CfnCellMixinProps( cell_name="cellName", cells=["cells"], tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Route53RecoveryReadiness::Cell.- Parameters:
props (
Union[CfnCellMixinProps,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 = ['cellName', 'cells', '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