interface CfnResiliencyPolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ResilienceHub.CfnResiliencyPolicyProps |
Java | software.amazon.awscdk.services.resiliencehub.CfnResiliencyPolicyProps |
Python | aws_cdk.aws_resiliencehub.CfnResiliencyPolicyProps |
TypeScript | @aws-cdk/aws-resiliencehub » CfnResiliencyPolicyProps |
Properties for defining a CfnResiliencyPolicy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as resiliencehub from '@aws-cdk/aws-resiliencehub';
const cfnResiliencyPolicyProps: resiliencehub.CfnResiliencyPolicyProps = {
policy: {
policyKey: {
rpoInSecs: 123,
rtoInSecs: 123,
},
},
policyName: 'policyName',
tier: 'tier',
// the properties below are optional
dataLocationConstraint: 'dataLocationConstraint',
policyDescription: 'policyDescription',
tags: {
tagsKey: 'tags',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| policy | IResolvable | { [string]: IResolvable | Failure } | The resiliency policy. |
| policy | string | The name of the policy. |
| tier | string | The tier for this resiliency policy, ranging from the highest severity ( MissionCritical ) to lowest ( NonCritical ). |
| data | string | Specifies a high-level geographical location constraint for where your resilience policy data can be stored. |
| policy | string | The description for the policy. |
| tags? | { [string]: string } | The tags assigned to the resource. |
policy
Type:
IResolvable | { [string]: IResolvable | Failure }
The resiliency policy.
policyName
Type:
string
The name of the policy.
tier
Type:
string
The tier for this resiliency policy, ranging from the highest severity ( MissionCritical ) to lowest ( NonCritical ).
dataLocationConstraint?
Type:
string
(optional)
Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
policyDescription?
Type:
string
(optional)
The description for the policy.
tags?
Type:
{ [string]: string }
(optional)
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.

.NET
Java
Python
TypeScript