Class: Aws::ResilienceHub::Types::ResiliencyPolicy
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::ResilienceHub::Types::ResiliencyPolicy
 
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-resiliencehub/types.rb
Overview
Defines a resiliency policy.
<note markdown=“1”> Resilience Hub allows you to provide a value of zero for ‘rtoInSecs` and `rpoInSecs` of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero for `rtoInSecs` and `rpoInSecs`, the estimated workload RTO and estimated workload RPO result will be near zero and the **Compliance status** for your application will be set to **Policy breached**.
</note>
Constant Summary collapse
- SENSITIVE =
- [:tags] 
Instance Attribute Summary collapse
- 
  
    
      #creation_time  ⇒ Time 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Date and time when the resiliency policy was created. 
- 
  
    
      #data_location_constraint  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies a high-level geographical location constraint for where your resilience policy data can be stored. 
- 
  
    
      #estimated_cost_tier  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies the estimated cost tier of the resiliency policy. 
- 
  
    
      #policy  ⇒ Hash<String,Types::FailurePolicy> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resiliency policy. 
- 
  
    
      #policy_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Amazon Resource Name (ARN) of the resiliency policy. 
- 
  
    
      #policy_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The description for the policy. 
- 
  
    
      #policy_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the policy. 
- 
  
    
      #tags  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Tags assigned to the resource. 
- 
  
    
      #tier  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The tier for this resiliency policy, ranging from the highest severity (‘MissionCritical`) to lowest (`NonCritical`). 
Instance Attribute Details
#creation_time ⇒ Time
Date and time when the resiliency policy was created.
| 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 | # File 'lib/aws-sdk-resiliencehub/types.rb', line 5461 class ResiliencyPolicy < Struct.new( :creation_time, :data_location_constraint, :estimated_cost_tier, :policy, :policy_arn, :policy_description, :policy_name, :tags, :tier) SENSITIVE = [:tags] include Aws::Structure end | 
#data_location_constraint ⇒ String
Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
| 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 | # File 'lib/aws-sdk-resiliencehub/types.rb', line 5461 class ResiliencyPolicy < Struct.new( :creation_time, :data_location_constraint, :estimated_cost_tier, :policy, :policy_arn, :policy_description, :policy_name, :tags, :tier) SENSITIVE = [:tags] include Aws::Structure end | 
#estimated_cost_tier ⇒ String
Specifies the estimated cost tier of the resiliency policy.
| 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 | # File 'lib/aws-sdk-resiliencehub/types.rb', line 5461 class ResiliencyPolicy < Struct.new( :creation_time, :data_location_constraint, :estimated_cost_tier, :policy, :policy_arn, :policy_description, :policy_name, :tags, :tier) SENSITIVE = [:tags] include Aws::Structure end | 
#policy ⇒ Hash<String,Types::FailurePolicy>
The resiliency policy.
| 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 | # File 'lib/aws-sdk-resiliencehub/types.rb', line 5461 class ResiliencyPolicy < Struct.new( :creation_time, :data_location_constraint, :estimated_cost_tier, :policy, :policy_arn, :policy_description, :policy_name, :tags, :tier) SENSITIVE = [:tags] include Aws::Structure end | 
#policy_arn ⇒ String
Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:‘partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`. For more information about ARNs, see [ Amazon Resource Names (ARNs)] in the *Amazon Web Services General Reference* guide.
[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
| 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 | # File 'lib/aws-sdk-resiliencehub/types.rb', line 5461 class ResiliencyPolicy < Struct.new( :creation_time, :data_location_constraint, :estimated_cost_tier, :policy, :policy_arn, :policy_description, :policy_name, :tags, :tier) SENSITIVE = [:tags] include Aws::Structure end | 
#policy_description ⇒ String
The description for the policy.
| 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 | # File 'lib/aws-sdk-resiliencehub/types.rb', line 5461 class ResiliencyPolicy < Struct.new( :creation_time, :data_location_constraint, :estimated_cost_tier, :policy, :policy_arn, :policy_description, :policy_name, :tags, :tier) SENSITIVE = [:tags] include Aws::Structure end | 
#policy_name ⇒ String
The name of the policy
| 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 | # File 'lib/aws-sdk-resiliencehub/types.rb', line 5461 class ResiliencyPolicy < Struct.new( :creation_time, :data_location_constraint, :estimated_cost_tier, :policy, :policy_arn, :policy_description, :policy_name, :tags, :tier) SENSITIVE = [:tags] include Aws::Structure end | 
#tags ⇒ Hash<String,String>
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
| 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 | # File 'lib/aws-sdk-resiliencehub/types.rb', line 5461 class ResiliencyPolicy < Struct.new( :creation_time, :data_location_constraint, :estimated_cost_tier, :policy, :policy_arn, :policy_description, :policy_name, :tags, :tier) SENSITIVE = [:tags] include Aws::Structure end | 
#tier ⇒ String
The tier for this resiliency policy, ranging from the highest severity (‘MissionCritical`) to lowest (`NonCritical`).
| 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 | # File 'lib/aws-sdk-resiliencehub/types.rb', line 5461 class ResiliencyPolicy < Struct.new( :creation_time, :data_location_constraint, :estimated_cost_tier, :policy, :policy_arn, :policy_description, :policy_name, :tags, :tier) SENSITIVE = [:tags] include Aws::Structure end |