CfnResiliencyPolicyProps

class aws_cdk.aws_resiliencehub.CfnResiliencyPolicyProps(*, policy, policy_name, tier, data_location_constraint=None, policy_description=None, tags=None)

Bases: object

Properties for defining a CfnResiliencyPolicy.

Parameters:
  • policy (Union[IResolvable, Mapping[str, Union[IResolvable, FailurePolicyProperty, Dict[str, Any]]]]) – The resiliency policy.

  • policy_name (str) – The name of the policy.

  • tier (str) – The tier for this resiliency policy, ranging from the highest severity ( MissionCritical ) to lowest ( NonCritical ).

  • data_location_constraint (Optional[str]) – Specifies a high-level geographical location constraint for where your resilience policy data can be stored.

  • policy_description (Optional[str]) – The description for the policy.

  • tags (Optional[Mapping[str, str]]) – The tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_resiliencehub as resiliencehub

cfn_resiliency_policy_props = resiliencehub.CfnResiliencyPolicyProps(
    policy={
        "policy_key": resiliencehub.CfnResiliencyPolicy.FailurePolicyProperty(
            rpo_in_secs=123,
            rto_in_secs=123
        )
    },
    policy_name="policyName",
    tier="tier",

    # the properties below are optional
    data_location_constraint="dataLocationConstraint",
    policy_description="policyDescription",
    tags={
        "tags_key": "tags"
    }
)

Attributes

data_location_constraint

Specifies a high-level geographical location constraint for where your resilience policy data can be stored.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-datalocationconstraint

policy

The resiliency policy.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-policy

policy_description

The description for the policy.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-policydescription

policy_name

The name of the policy.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-policyname

tags

The tags assigned to the resource.

A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-tags

tier

The tier for this resiliency policy, ranging from the highest severity ( MissionCritical ) to lowest ( NonCritical ).

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-tier