ResiliencyPolicyArgs

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

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

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
val dataLocationConstraint: Output<String>? = null

Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.

Link copied to clipboard
val description: Output<String>? = null

Description of Resiliency Policy.

Link copied to clipboard
val name: Output<String>? = null

Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.

Link copied to clipboard
val policy: Output<ResiliencyPolicyPolicyArgs>? = null

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
val tags: Output<Map<String, String>>? = null

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tier: Output<String>? = null

Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): ResiliencyPolicyArgs