CfnResiliencyPolicyMixinProps
- class aws_cdk.mixins_preview.aws_resiliencehub.mixins.CfnResiliencyPolicyMixinProps(*, data_location_constraint=None, policy=None, policy_description=None, policy_name=None, tags=None, tier=None)
Bases:
objectProperties for CfnResiliencyPolicyPropsMixin.
- Parameters:
data_location_constraint (
Optional[str]) – Specifies a high-level geographical location constraint for where your resilience policy data can be stored.policy (
Union[IResolvable,Mapping[str,Union[IResolvable,FailurePolicyProperty,Dict[str,Any]]],None]) – The resiliency policy.policy_description (
Optional[str]) – Description of the resiliency policy.policy_name (
Optional[str]) – The name of the policy.tags (
Optional[Mapping[str,str]]) – 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.tier (
Optional[str]) – The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).
- See:
- 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.aws_resiliencehub import mixins as resiliencehub_mixins cfn_resiliency_policy_mixin_props = resiliencehub_mixins.CfnResiliencyPolicyMixinProps( data_location_constraint="dataLocationConstraint", policy={ "policy_key": resiliencehub_mixins.CfnResiliencyPolicyPropsMixin.FailurePolicyProperty( rpo_in_secs=123, rto_in_secs=123 ) }, policy_description="policyDescription", policy_name="policyName", tags={ "tags_key": "tags" }, tier="tier" )
Attributes
- data_location_constraint
Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
- policy
The resiliency policy.
- policy_description
Description of the resiliency policy.
- policy_name
The name of the policy.
- tags
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.
- tier
The tier for this resiliency policy, ranging from the highest severity (
MissionCritical) to lowest (NonCritical).