Class: Aws::Backup::Types::CalculatedLifecycle

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

Overview

Contains DeleteAt and MoveToColdStorageAt timestamps, which are used to specify a lifecycle for a recovery point.

The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

Resource types that can transition to cold storage are listed in the Feature availability by resource table. Backup ignores this expression for other resource types.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delete_atTime

A timestamp that specifies when to delete a recovery point.

Returns:

  • (Time)


1038
1039
1040
1041
1042
1043
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 1038

class CalculatedLifecycle < Struct.new(
  :move_to_cold_storage_at,
  :delete_at)
  SENSITIVE = []
  include Aws::Structure
end

#move_to_cold_storage_atTime

A timestamp that specifies when to transition a recovery point to cold storage.

Returns:

  • (Time)


1038
1039
1040
1041
1042
1043
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 1038

class CalculatedLifecycle < Struct.new(
  :move_to_cold_storage_at,
  :delete_at)
  SENSITIVE = []
  include Aws::Structure
end