We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type Definition for Resiliency Policy.
Create ResiliencyPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResiliencyPolicy(name: string, args: ResiliencyPolicyArgs, opts?: CustomResourceOptions);@overload
def ResiliencyPolicy(resource_name: str,
args: ResiliencyPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ResiliencyPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
policy: Optional[ResiliencyPolicyPolicyMapArgs] = None,
tier: Optional[ResiliencyPolicyTier] = None,
data_location_constraint: Optional[ResiliencyPolicyDataLocationConstraint] = None,
policy_description: Optional[str] = None,
policy_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewResiliencyPolicy(ctx *Context, name string, args ResiliencyPolicyArgs, opts ...ResourceOption) (*ResiliencyPolicy, error)public ResiliencyPolicy(string name, ResiliencyPolicyArgs args, CustomResourceOptions? opts = null)
public ResiliencyPolicy(String name, ResiliencyPolicyArgs args)
public ResiliencyPolicy(String name, ResiliencyPolicyArgs args, CustomResourceOptions options)
type: aws-native:resiliencehub:ResiliencyPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_resiliencehub_resiliency_policy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ResiliencyPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ResiliencyPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ResiliencyPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResiliencyPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResiliencyPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ResiliencyPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ResiliencyPolicy resource accepts the following input properties:
- Policy
Pulumi.
Aws Native. Resilience Hub. Inputs. Resiliency Policy Policy Map - The resiliency policy.
- Tier
Pulumi.
Aws Native. Resilience Hub. Resiliency Policy Tier - Resiliency Policy Tier.
- Data
Location Pulumi.Constraint Aws Native. Resilience Hub. Resiliency Policy Data Location Constraint - Data Location Constraint of the Policy.
- Policy
Description string - Description of Resiliency Policy.
- Policy
Name string - Name of Resiliency Policy.
- Dictionary<string, string>
- 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.
- Policy
Resiliency
Policy Policy Map Args - The resiliency policy.
- Tier
Resiliency
Policy Tier - Resiliency Policy Tier.
- Data
Location ResiliencyConstraint Policy Data Location Constraint - Data Location Constraint of the Policy.
- Policy
Description string - Description of Resiliency Policy.
- Policy
Name string - Name of Resiliency Policy.
- map[string]string
- 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.
- policy object
- The resiliency policy.
- tier
"Mission
Critical" | "Critical" | "Important" | "Core Services" | "Non Critical" - Resiliency Policy Tier.
- data_
location_ "Anyconstraint Location" | "Same Continent" | "Same Country" - Data Location Constraint of the Policy.
- policy_
description string - Description of Resiliency Policy.
- policy_
name string - Name of Resiliency Policy.
- map(string)
- 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.
- policy
Resiliency
Policy Policy Map - The resiliency policy.
- tier
Resiliency
Policy Tier - Resiliency Policy Tier.
- data
Location ResiliencyConstraint Policy Data Location Constraint - Data Location Constraint of the Policy.
- policy
Description String - Description of Resiliency Policy.
- policy
Name String - Name of Resiliency Policy.
- Map<String,String>
- 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.
- policy
Resiliency
Policy Policy Map - The resiliency policy.
- tier
Resiliency
Policy Tier - Resiliency Policy Tier.
- data
Location ResiliencyConstraint Policy Data Location Constraint - Data Location Constraint of the Policy.
- policy
Description string - Description of Resiliency Policy.
- policy
Name string - Name of Resiliency Policy.
- {[key: string]: string}
- 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.
- policy
Resiliency
Policy Policy Map Args - The resiliency policy.
- tier
Resiliency
Policy Tier - Resiliency Policy Tier.
- data_
location_ Resiliencyconstraint Policy Data Location Constraint - Data Location Constraint of the Policy.
- policy_
description str - Description of Resiliency Policy.
- policy_
name str - Name of Resiliency Policy.
- Mapping[str, str]
- 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.
- policy Property Map
- The resiliency policy.
- tier
"Mission
Critical" | "Critical" | "Important" | "Core Services" | "Non Critical" - Resiliency Policy Tier.
- data
Location "AnyConstraint Location" | "Same Continent" | "Same Country" - Data Location Constraint of the Policy.
- policy
Description String - Description of Resiliency Policy.
- policy
Name String - Name of Resiliency Policy.
- Map<String>
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ResiliencyPolicy resource produces the following output properties:
- id string
- The provider-assigned unique ID for this managed resource.
- policy_
arn string - Amazon Resource Name (ARN) of the Resiliency Policy.
- id str
- The provider-assigned unique ID for this managed resource.
- policy_
arn str - Amazon Resource Name (ARN) of the Resiliency Policy.
Look up Existing ResiliencyPolicy Resource
Get an existing ResiliencyPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): ResiliencyPolicy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> ResiliencyPolicyfunc GetResiliencyPolicy(ctx *Context, name string, id IDInput, state *ResiliencyPolicyState, opts ...ResourceOption) (*ResiliencyPolicy, error)public static ResiliencyPolicy Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static ResiliencyPolicy get(String name, Output<String> id, CustomResourceOptions options)resources: existingResiliencyPolicy: type: aws-native:resiliencehub:ResiliencyPolicy get: id: ${id}import {
to = aws-native_resiliencehub_resiliency_policy.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state ResiliencyPolicyState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
ResiliencyPolicyDataLocationConstraint
Data Location Constraint of the Policy.
| Name | Value |
|---|---|
| Any | AnyLocation |
| Same | SameContinent |
| Same | SameCountry |
| Name | Value |
|---|---|
| Resiliency | AnyLocation |
| Resiliency | SameContinent |
| Resiliency | SameCountry |
| Value |
|---|
AnyLocation |
SameContinent |
SameCountry |
| Name | Value |
|---|---|
| Any | AnyLocation |
| Same | SameContinent |
| Same | SameCountry |
| Name | Value |
|---|---|
| Any | AnyLocation |
| Same | SameContinent |
| Same | SameCountry |
| Name | Value |
|---|---|
| ANY_LOCATION | AnyLocation |
| SAME_CONTINENT | SameContinent |
| SAME_COUNTRY | SameCountry |
| Value |
|---|
AnyLocation |
SameContinent |
SameCountry |
ResiliencyPolicyFailurePolicy, ResiliencyPolicyFailurePolicyArgs
Failure Policy.
- rpo_
in_ numbersecs - RPO in seconds.
- rto_
in_ numbersecs - RTO in seconds.
- rpo_
in_ intsecs - RPO in seconds.
- rto_
in_ intsecs - RTO in seconds.
ResiliencyPolicyPolicyMap, ResiliencyPolicyPolicyMapArgs
- Az
Pulumi.
Aws Native. Resilience Hub. Inputs. Resiliency Policy Failure Policy - Defines the RTO and RPO targets for Availability Zone disruption.
- Hardware
Pulumi.
Aws Native. Resilience Hub. Inputs. Resiliency Policy Failure Policy - Defines the RTO and RPO targets for hardware disruption.
- Software
Pulumi.
Aws Native. Resilience Hub. Inputs. Resiliency Policy Failure Policy - Defines the RTO and RPO targets for software disruption.
- Region
Pulumi.
Aws Native. Resilience Hub. Inputs. Resiliency Policy Failure Policy - Defines the RTO and RPO targets for Regional disruption.
- Az
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for Availability Zone disruption.
- Hardware
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for hardware disruption.
- Software
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for software disruption.
- Region
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for Regional disruption.
- az
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for Availability Zone disruption.
- hardware
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for hardware disruption.
- software
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for software disruption.
- region
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for Regional disruption.
- az
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for Availability Zone disruption.
- hardware
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for hardware disruption.
- software
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for software disruption.
- region
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for Regional disruption.
- az
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for Availability Zone disruption.
- hardware
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for hardware disruption.
- software
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for software disruption.
- region
Resiliency
Policy Failure Policy - Defines the RTO and RPO targets for Regional disruption.
- az Property Map
- Defines the RTO and RPO targets for Availability Zone disruption.
- hardware Property Map
- Defines the RTO and RPO targets for hardware disruption.
- software Property Map
- Defines the RTO and RPO targets for software disruption.
- region Property Map
- Defines the RTO and RPO targets for Regional disruption.
ResiliencyPolicyTier
Resiliency Policy Tier.
| Name | Value |
|---|---|
| Mission | MissionCritical |
| Critical | Critical |
| Important | Important |
| Core | CoreServices |
| Non | NonCritical |
| Name | Value |
|---|---|
| Resiliency | MissionCritical |
| Resiliency | Critical |
| Resiliency | Important |
| Resiliency | CoreServices |
| Resiliency | NonCritical |
| Value |
|---|
MissionCritical |
Critical |
Important |
CoreServices |
NonCritical |
| Name | Value |
|---|---|
| Mission | MissionCritical |
| Critical | Critical |
| Important | Important |
| Core | CoreServices |
| Non | NonCritical |
| Name | Value |
|---|---|
| Mission | MissionCritical |
| Critical | Critical |
| Important | Important |
| Core | CoreServices |
| Non | NonCritical |
| Name | Value |
|---|---|
| MISSION_CRITICAL | MissionCritical |
| CRITICAL | Critical |
| IMPORTANT | Important |
| CORE_SERVICES | CoreServices |
| NON_CRITICAL | NonCritical |
| Value |
|---|
MissionCritical |
Critical |
Important |
CoreServices |
NonCritical |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi