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)


5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
# File 'gems/aws-sdk-resiliencehub/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_constraintString

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

Returns:

  • (String)


5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
# File 'gems/aws-sdk-resiliencehub/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_tierString

Specifies the estimated cost tier of the resiliency policy.

Returns:

  • (String)


5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
# File 'gems/aws-sdk-resiliencehub/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

#policyHash<String,Types::FailurePolicy>

The resiliency policy.

Returns:



5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
# File 'gems/aws-sdk-resiliencehub/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_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)


5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
# File 'gems/aws-sdk-resiliencehub/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_descriptionString

The description for the policy.

Returns:

  • (String)


5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
# File 'gems/aws-sdk-resiliencehub/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_nameString

The name of the policy

Returns:

  • (String)


5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
# File 'gems/aws-sdk-resiliencehub/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

#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>)


5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
# File 'gems/aws-sdk-resiliencehub/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

#tierString

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

Returns:

  • (String)


5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
# File 'gems/aws-sdk-resiliencehub/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