aws-cdk-lib.aws_resiliencehub.CfnResiliencyPolicyProps

interface CfnResiliencyPolicyProps

LanguageType name
.NETAmazon.CDK.AWS.ResilienceHub.CfnResiliencyPolicyProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsresiliencehub#CfnResiliencyPolicyProps
Javasoftware.amazon.awscdk.services.resiliencehub.CfnResiliencyPolicyProps
Pythonaws_cdk.aws_resiliencehub.CfnResiliencyPolicyProps
TypeScript aws-cdk-lib » 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 { aws_resiliencehub as resiliencehub } from 'aws-cdk-lib';
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

NameTypeDescription
policyIResolvable | { [string]: IResolvable | FailurePolicyProperty }The resiliency policy.
policyNamestringThe name of the policy.
tierstringThe tier for this resiliency policy, ranging from the highest severity ( MissionCritical ) to lowest ( NonCritical ).
dataLocationConstraint?stringSpecifies a high-level geographical location constraint for where your resilience policy data can be stored.
policyDescription?stringThe description for the policy.
tags?{ [string]: string }The tags assigned to the resource.

policy

Type: IResolvable | { [string]: IResolvable | FailurePolicyProperty }

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.