CfnReadinessCheckPropsMixin

class aws_cdk.cfn_property_mixins.aws_route53recoveryreadiness.CfnReadinessCheckPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a readiness check in Amazon Route 53 Application Recovery Controller.

A readiness check continually monitors a resource set in your application, such as a set of Amazon Aurora instances, that Route 53 ARC is auditing recovery readiness for. The audits run once every minute on every resource that’s associated with a readiness check.

Every resource type has a set of rules associated with it that Route 53 ARC uses to audit resources for readiness. For more information, see Readiness rules descriptions 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-readinesscheck.html

CloudformationResource:

AWS::Route53RecoveryReadiness::ReadinessCheck

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_readiness_check_props_mixin = route53recoveryreadiness.CfnReadinessCheckPropsMixin(route53recoveryreadiness.CfnReadinessCheckMixinProps(
    readiness_check_name="readinessCheckName",
    resource_set_name="resourceSetName",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::Route53RecoveryReadiness::ReadinessCheck.

Parameters:
  • props (Union[CfnReadinessCheckMixinProps, 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 = ['readinessCheckName', 'resourceSetName', 'tags']

Static Methods

classmethod is_mixin(x)

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.