We recommend new projects start with resources from the AWS provider.
aws-native.resiliencehub.ResiliencyPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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.
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
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 str
- The provider-assigned unique ID for this managed resource.
- policy_
arn str - Amazon Resource Name (ARN) of the Resiliency Policy.
Supporting Types
ResiliencyPolicyDataLocationConstraint, ResiliencyPolicyDataLocationConstraintArgs
- Any
Location - AnyLocation
- Same
Continent - SameContinent
- Same
Country - SameCountry
- Resiliency
Policy Data Location Constraint Any Location - AnyLocation
- Resiliency
Policy Data Location Constraint Same Continent - SameContinent
- Resiliency
Policy Data Location Constraint Same Country - SameCountry
- Any
Location - AnyLocation
- Same
Continent - SameContinent
- Same
Country - SameCountry
- Any
Location - AnyLocation
- Same
Continent - SameContinent
- Same
Country - SameCountry
- ANY_LOCATION
- AnyLocation
- SAME_CONTINENT
- SameContinent
- SAME_COUNTRY
- SameCountry
- "Any
Location" - AnyLocation
- "Same
Continent" - SameContinent
- "Same
Country" - SameCountry
ResiliencyPolicyFailurePolicy, ResiliencyPolicyFailurePolicyArgs
- 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, ResiliencyPolicyTierArgs
- Mission
Critical - MissionCritical
- Critical
- Critical
- Important
- Important
- Core
Services - CoreServices
- Non
Critical - NonCritical
- Resiliency
Policy Tier Mission Critical - MissionCritical
- Resiliency
Policy Tier Critical - Critical
- Resiliency
Policy Tier Important - Important
- Resiliency
Policy Tier Core Services - CoreServices
- Resiliency
Policy Tier Non Critical - NonCritical
- Mission
Critical - MissionCritical
- Critical
- Critical
- Important
- Important
- Core
Services - CoreServices
- Non
Critical - NonCritical
- Mission
Critical - MissionCritical
- Critical
- Critical
- Important
- Important
- Core
Services - CoreServices
- Non
Critical - NonCritical
- MISSION_CRITICAL
- MissionCritical
- CRITICAL
- Critical
- IMPORTANT
- Important
- CORE_SERVICES
- CoreServices
- NON_CRITICAL
- NonCritical
- "Mission
Critical" - MissionCritical
- "Critical"
- Critical
- "Important"
- Important
- "Core
Services" - CoreServices
- "Non
Critical" - 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.