Class: Aws::ResilienceHub::Types::ResiliencyPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb

Overview

Defines a resiliency policy.

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.

Constant Summary collapse

SENSITIVE =
[:tags]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timeTime

Date and time when the resiliency policy was created.

Returns:

  • (Time)


4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4935

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_constraintString

Specifies a high-level geographical location constraint for where your resilience policy data can be stored.

Returns:

  • (String)


4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4935

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_tierString

Specifies the estimated cost tier of the resiliency policy.

Returns:

  • (String)


4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4935

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

#policyHash<String,Types::FailurePolicy>

The resiliency policy.

Returns:



4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4935

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_arnString

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.

Returns:

  • (String)


4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4935

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_descriptionString

The description for the policy.

Returns:

  • (String)


4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4935

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_nameString

The name of the policy

Returns:

  • (String)


4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4935

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

#tagsHash<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.

Returns:

  • (Hash<String,String>)


4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4935

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

#tierString

The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).

Returns:

  • (String)


4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4935

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