AWS::ResilienceHub::ResiliencyPolicyDefines a resiliency policy. > AWS Resilience Hub allows you to provide a value of zero for `rtoInSecs` and `rpoInSecs` of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero for `rtoInSecs` and `rpoInSecs` , the estimated workload RTO and estimated workload RPO result will be near zero and the *Compliance status* for your application will be set to *Policy breached* .
import { CfnResiliencyPolicy } from 'aws-cdk-lib/aws-resiliencehub';Or use the module namespace:
import * as resiliencehub from 'aws-cdk-lib/aws-resiliencehub';
// resiliencehub.CfnResiliencyPolicyConfiguration passed to the constructor as CfnResiliencyPolicyProps.
policyRequiredIResolvable | { [key: string]: IResolvable | FailurePolicyProperty }The resiliency policy.
policyNameRequiredstringThe name of the policy.
tierRequiredstringThe tier for this resiliency policy, ranging from the highest severity ( `MissionCritical` ) to lowest ( `NonCritical` ).
dataLocationConstraintOptionalstringSpecifies a high-level geographical location constraint for where your resilience policy data can be stored.
policyDescriptionOptionalstringDescription of the resiliency policy.
tagsOptional{ [key: string]: string }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.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-resiliencehubAWS::ResilienceHub::ResiliencyPolicy