AWS::ResilienceHub::ResiliencyPolicy - AWS CloudFormation

AWS::ResilienceHub::ResiliencyPolicy

Defines a resiliency policy.

Note

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::ResilienceHub::ResiliencyPolicy", "Properties" : { "DataLocationConstraint" : String, "Policy" : PolicyMap, "PolicyDescription" : String, "PolicyName" : String, "Tags" : {Key: Value, ...}, "Tier" : String } }

YAML

Type: AWS::ResilienceHub::ResiliencyPolicy Properties: DataLocationConstraint: String Policy: PolicyMap PolicyDescription: String PolicyName: String Tags: Key: Value Tier: String

Properties

DataLocationConstraint

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

Required: No

Type: String

Allowed values: AnyLocation | SameContinent | SameCountry

Update requires: No interruption

Policy

The resiliency policy.

Required: Yes

Type: PolicyMap

Update requires: No interruption

PolicyDescription

Description of the resiliency policy.

Required: No

Type: String

Maximum: 500

Update requires: No interruption

PolicyName

The name of the policy

Required: Yes

Type: String

Pattern: ^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$

Update requires: No interruption

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.

Required: No

Type: Object of String

Pattern: .{1,128}

Maximum: 256

Update requires: No interruption

Tier

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

Required: Yes

Type: String

Allowed values: MissionCritical | Critical | Important | CoreServices | NonCritical

Update requires: No interruption

Return values

Ref

The returned Amazon Resource Name (ARN) for the resiliency policy.

Fn::GetAtt

Amazon Resource Name (ARN) for the resiliency policy.

PolicyArn

Amazon Resource Name (ARN) of the resiliency policy.