Class: Aws::ResilienceHub::Types::FailurePolicy

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

Overview

Note:

When making an API call, you may pass FailurePolicy data as a hash:

{
  rpo_in_secs: 1, # required
  rto_in_secs: 1, # required
}

Defines a failure policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#rpo_in_secsInteger

The Recovery Point Objective (RPO), in seconds.

Returns:

  • (Integer)


1642
1643
1644
1645
1646
1647
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1642

class FailurePolicy < Struct.new(
  :rpo_in_secs,
  :rto_in_secs)
  SENSITIVE = []
  include Aws::Structure
end

#rto_in_secsInteger

The Recovery Time Objective (RTO), in seconds.

Returns:

  • (Integer)


1642
1643
1644
1645
1646
1647
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1642

class FailurePolicy < Struct.new(
  :rpo_in_secs,
  :rto_in_secs)
  SENSITIVE = []
  include Aws::Structure
end