aws.resiliencehub.ResiliencyPolicy
Explore with Pulumi AI
Resource for managing an AWS Resilience Hub Resiliency Policy.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
example:
type: aws:resiliencehub:ResiliencyPolicy
properties:
policyName: testexample
policyDescription: 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
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,
tier: Optional[str] = None,
data_location_constraint: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
policy: Optional[ResiliencyPolicyPolicyArgs] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ResiliencyPolicyTimeoutsArgs] = 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: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.
Constructor example
The following reference example uses placeholder values for all input properties.
var resiliencyPolicyResource = new Aws.ResilienceHub.ResiliencyPolicy("resiliencyPolicyResource", new()
{
Tier = "string",
DataLocationConstraint = "string",
Description = "string",
Name = "string",
Policy = new Aws.ResilienceHub.Inputs.ResiliencyPolicyPolicyArgs
{
Az = new Aws.ResilienceHub.Inputs.ResiliencyPolicyPolicyAzArgs
{
Rpo = "string",
Rto = "string",
},
Hardware = new Aws.ResilienceHub.Inputs.ResiliencyPolicyPolicyHardwareArgs
{
Rpo = "string",
Rto = "string",
},
Region = new Aws.ResilienceHub.Inputs.ResiliencyPolicyPolicyRegionArgs
{
Rpo = "string",
Rto = "string",
},
Software = new Aws.ResilienceHub.Inputs.ResiliencyPolicyPolicySoftwareArgs
{
Rpo = "string",
Rto = "string",
},
},
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.ResilienceHub.Inputs.ResiliencyPolicyTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := resiliencehub.NewResiliencyPolicy(ctx, "resiliencyPolicyResource", &resiliencehub.ResiliencyPolicyArgs{
Tier: pulumi.String("string"),
DataLocationConstraint: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Policy: &resiliencehub.ResiliencyPolicyPolicyArgs{
Az: &resiliencehub.ResiliencyPolicyPolicyAzArgs{
Rpo: pulumi.String("string"),
Rto: pulumi.String("string"),
},
Hardware: &resiliencehub.ResiliencyPolicyPolicyHardwareArgs{
Rpo: pulumi.String("string"),
Rto: pulumi.String("string"),
},
Region: &resiliencehub.ResiliencyPolicyPolicyRegionArgs{
Rpo: pulumi.String("string"),
Rto: pulumi.String("string"),
},
Software: &resiliencehub.ResiliencyPolicyPolicySoftwareArgs{
Rpo: pulumi.String("string"),
Rto: pulumi.String("string"),
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &resiliencehub.ResiliencyPolicyTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var resiliencyPolicyResource = new ResiliencyPolicy("resiliencyPolicyResource", ResiliencyPolicyArgs.builder()
.tier("string")
.dataLocationConstraint("string")
.description("string")
.name("string")
.policy(ResiliencyPolicyPolicyArgs.builder()
.az(ResiliencyPolicyPolicyAzArgs.builder()
.rpo("string")
.rto("string")
.build())
.hardware(ResiliencyPolicyPolicyHardwareArgs.builder()
.rpo("string")
.rto("string")
.build())
.region(ResiliencyPolicyPolicyRegionArgs.builder()
.rpo("string")
.rto("string")
.build())
.software(ResiliencyPolicyPolicySoftwareArgs.builder()
.rpo("string")
.rto("string")
.build())
.build())
.tags(Map.of("string", "string"))
.timeouts(ResiliencyPolicyTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
resiliency_policy_resource = aws.resiliencehub.ResiliencyPolicy("resiliencyPolicyResource",
tier="string",
data_location_constraint="string",
description="string",
name="string",
policy={
"az": {
"rpo": "string",
"rto": "string",
},
"hardware": {
"rpo": "string",
"rto": "string",
},
"region": {
"rpo": "string",
"rto": "string",
},
"software": {
"rpo": "string",
"rto": "string",
},
},
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const resiliencyPolicyResource = new aws.resiliencehub.ResiliencyPolicy("resiliencyPolicyResource", {
tier: "string",
dataLocationConstraint: "string",
description: "string",
name: "string",
policy: {
az: {
rpo: "string",
rto: "string",
},
hardware: {
rpo: "string",
rto: "string",
},
region: {
rpo: "string",
rto: "string",
},
software: {
rpo: "string",
rto: "string",
},
},
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:resiliencehub:ResiliencyPolicy
properties:
dataLocationConstraint: string
description: string
name: string
policy:
az:
rpo: string
rto: string
hardware:
rpo: string
rto: string
region:
rpo: string
rto: string
software:
rpo: string
rto: string
tags:
string: string
tier: string
timeouts:
create: string
delete: string
update: string
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:
- Tier string
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - Data
Location stringConstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - Description string
- Description of Resiliency Policy.
- Name string
- 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.
- Policy
Resiliency
Policy Policy 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:
- Dictionary<string, string>
- 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. - Timeouts
Resiliency
Policy Timeouts
- Tier string
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - Data
Location stringConstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - Description string
- Description of Resiliency Policy.
- Name string
- 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.
- Policy
Resiliency
Policy Policy Args 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:
- map[string]string
- 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. - Timeouts
Resiliency
Policy Timeouts Args
- tier String
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - data
Location StringConstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - description String
- Description of Resiliency Policy.
- name String
- 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.
- policy
Resiliency
Policy Policy 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:
- Map<String,String>
- 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. - timeouts
Resiliency
Policy Timeouts
- tier string
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - data
Location stringConstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - description string
- Description of Resiliency Policy.
- name string
- 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.
- policy
Resiliency
Policy Policy 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:
- {[key: string]: string}
- 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. - timeouts
Resiliency
Policy Timeouts
- tier str
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - data_
location_ strconstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - description str
- Description of Resiliency Policy.
- name str
- 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.
- policy
Resiliency
Policy Policy Args 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:
- Mapping[str, str]
- 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. - timeouts
Resiliency
Policy Timeouts Args
- tier String
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - data
Location StringConstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - description String
- Description of Resiliency Policy.
- name String
- 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.
- policy Property Map
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:
- Map<String>
- 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. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ResiliencyPolicy resource produces the following output properties:
- Arn string
- ARN of the Resiliency Policy.
- Estimated
Cost stringTier - Estimated Cost Tier of the Resiliency Policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- ARN of the Resiliency Policy.
- Estimated
Cost stringTier - Estimated Cost Tier of the Resiliency Policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the Resiliency Policy.
- estimated
Cost StringTier - Estimated Cost Tier of the Resiliency Policy.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- ARN of the Resiliency Policy.
- estimated
Cost stringTier - Estimated Cost Tier of the Resiliency Policy.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- ARN of the Resiliency Policy.
- estimated_
cost_ strtier - Estimated Cost Tier of the Resiliency Policy.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the Resiliency Policy.
- estimated
Cost StringTier - Estimated Cost Tier of the Resiliency Policy.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
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>, state?: ResiliencyPolicyState, opts?: CustomResourceOptions): ResiliencyPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
data_location_constraint: Optional[str] = None,
description: Optional[str] = None,
estimated_cost_tier: Optional[str] = None,
name: Optional[str] = None,
policy: Optional[ResiliencyPolicyPolicyArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
tier: Optional[str] = None,
timeouts: Optional[ResiliencyPolicyTimeoutsArgs] = None) -> ResiliencyPolicy
func GetResiliencyPolicy(ctx *Context, name string, id IDInput, state *ResiliencyPolicyState, opts ...ResourceOption) (*ResiliencyPolicy, error)
public static ResiliencyPolicy Get(string name, Input<string> id, ResiliencyPolicyState? state, CustomResourceOptions? opts = null)
public static ResiliencyPolicy get(String name, Output<String> id, ResiliencyPolicyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the Resiliency Policy.
- Data
Location stringConstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - Description string
- Description of Resiliency Policy.
- Estimated
Cost stringTier - Estimated Cost Tier of the Resiliency Policy.
- Name string
- 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.
- Policy
Resiliency
Policy Policy 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:
- Dictionary<string, string>
- 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. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Tier string
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - Timeouts
Resiliency
Policy Timeouts
- Arn string
- ARN of the Resiliency Policy.
- Data
Location stringConstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - Description string
- Description of Resiliency Policy.
- Estimated
Cost stringTier - Estimated Cost Tier of the Resiliency Policy.
- Name string
- 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.
- Policy
Resiliency
Policy Policy Args 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:
- map[string]string
- 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. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Tier string
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - Timeouts
Resiliency
Policy Timeouts Args
- arn String
- ARN of the Resiliency Policy.
- data
Location StringConstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - description String
- Description of Resiliency Policy.
- estimated
Cost StringTier - Estimated Cost Tier of the Resiliency Policy.
- name String
- 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.
- policy
Resiliency
Policy Policy 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:
- Map<String,String>
- 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. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - tier String
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - timeouts
Resiliency
Policy Timeouts
- arn string
- ARN of the Resiliency Policy.
- data
Location stringConstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - description string
- Description of Resiliency Policy.
- estimated
Cost stringTier - Estimated Cost Tier of the Resiliency Policy.
- name string
- 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.
- policy
Resiliency
Policy Policy 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:
- {[key: string]: string}
- 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. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - tier string
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - timeouts
Resiliency
Policy Timeouts
- arn str
- ARN of the Resiliency Policy.
- data_
location_ strconstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - description str
- Description of Resiliency Policy.
- estimated_
cost_ strtier - Estimated Cost Tier of the Resiliency Policy.
- name str
- 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.
- policy
Resiliency
Policy Policy Args 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:
- Mapping[str, str]
- 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. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - tier str
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - timeouts
Resiliency
Policy Timeouts Args
- arn String
- ARN of the Resiliency Policy.
- data
Location StringConstraint - Data Location Constraint of the Policy.
Valid values are
AnyLocation
,SameContinent
, andSameCountry
. - description String
- Description of Resiliency Policy.
- estimated
Cost StringTier - Estimated Cost Tier of the Resiliency Policy.
- name String
- 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.
- policy Property Map
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:
- Map<String>
- 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. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - tier String
- Resiliency Policy Tier.
Valid values are
MissionCritical
,Critical
,Important
,CoreServices
,NonCritical
, andNotApplicable
. - timeouts Property Map
Supporting Types
ResiliencyPolicyPolicy, ResiliencyPolicyPolicyArgs
- Az
Resiliency
Policy Policy Az - Specifies Availability Zone failure policy. See
policy.az
- Hardware
Resiliency
Policy Policy Hardware - Specifies Infrastructure failure policy. See
policy.hardware
- Region
Resiliency
Policy Policy Region - Specifies Region failure policy.
policy.region
- Software
Resiliency
Policy Policy Software Specifies Application failure policy. See
policy.software
The following arguments are optional:
- Az
Resiliency
Policy Policy Az - Specifies Availability Zone failure policy. See
policy.az
- Hardware
Resiliency
Policy Policy Hardware - Specifies Infrastructure failure policy. See
policy.hardware
- Region
Resiliency
Policy Policy Region - Specifies Region failure policy.
policy.region
- Software
Resiliency
Policy Policy Software Specifies Application failure policy. See
policy.software
The following arguments are optional:
- az
Resiliency
Policy Policy Az - Specifies Availability Zone failure policy. See
policy.az
- hardware
Resiliency
Policy Policy Hardware - Specifies Infrastructure failure policy. See
policy.hardware
- region
Resiliency
Policy Policy Region - Specifies Region failure policy.
policy.region
- software
Resiliency
Policy Policy Software Specifies Application failure policy. See
policy.software
The following arguments are optional:
- az
Resiliency
Policy Policy Az - Specifies Availability Zone failure policy. See
policy.az
- hardware
Resiliency
Policy Policy Hardware - Specifies Infrastructure failure policy. See
policy.hardware
- region
Resiliency
Policy Policy Region - Specifies Region failure policy.
policy.region
- software
Resiliency
Policy Policy Software Specifies Application failure policy. See
policy.software
The following arguments are optional:
- az
Resiliency
Policy Policy Az - Specifies Availability Zone failure policy. See
policy.az
- hardware
Resiliency
Policy Policy Hardware - Specifies Infrastructure failure policy. See
policy.hardware
- region
Resiliency
Policy Policy Region - Specifies Region failure policy.
policy.region
- software
Resiliency
Policy Policy Software Specifies Application failure policy. See
policy.software
The following arguments are optional:
- az Property Map
- Specifies Availability Zone failure policy. See
policy.az
- hardware Property Map
- Specifies Infrastructure failure policy. See
policy.hardware
- region Property Map
- Specifies Region failure policy.
policy.region
- software Property Map
Specifies Application failure policy. See
policy.software
The following arguments are optional:
ResiliencyPolicyPolicyAz, ResiliencyPolicyPolicyAzArgs
ResiliencyPolicyPolicyHardware, ResiliencyPolicyPolicyHardwareArgs
ResiliencyPolicyPolicyRegion, ResiliencyPolicyPolicyRegionArgs
ResiliencyPolicyPolicySoftware, ResiliencyPolicyPolicySoftwareArgs
ResiliencyPolicyTimeouts, ResiliencyPolicyTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.