Resiliency Policy Args
data class ResiliencyPolicyArgs(val dataLocationConstraint: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val policy: Output<ResiliencyPolicyPolicyArgs>? = null, val tags: Output<Map<String, String>>? = null, val tier: Output<String>? = null, val timeouts: Output<ResiliencyPolicyTimeoutsArgs>? = null) : ConvertibleToJava<ResiliencyPolicyArgs>
Resource for managing an AWS Resilience Hub Resiliency Policy.
Example Usage
resources:
example:
type: aws:resiliencehub:ResiliencyPolicy
properties:
name: testexample
description: testexample
tier: NonCritical
dataLocationConstraint: AnyLocation
policy:
- region:
- rpo: 24h
rto: 24h
az:
- rpo: 24h
rto: 24h
hardware:
- rpo: 24h
rto: 24h
software:
- rpo: 24h
rto: 24h
Content copied to clipboard
Import
Using pulumi import
, import Resilience Hub Resiliency Policy using the arn
. For example:
$ pulumi import aws:resiliencehub/resiliencyPolicy:ResiliencyPolicy example arn:aws:resiliencehub:us-east-1:123456789012:resiliency-policy/8c1cfa29-d1dd-4421-aa68-c9f64cced4c2
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(dataLocationConstraint: Output<String>? = null, description: Output<String>? = null, name: Output<String>? = null, policy: Output<ResiliencyPolicyPolicyArgs>? = null, tags: Output<Map<String, String>>? = null, tier: Output<String>? = null, timeouts: Output<ResiliencyPolicyTimeoutsArgs>? = null)
Properties
Link copied to clipboard
Data Location Constraint of the Policy. Valid values are AnyLocation
, SameContinent
, and SameCountry
.
Link copied to clipboard
Description of Resiliency Policy.
Link copied to clipboard
The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy
. The following arguments are optional:
Link copied to clipboard