You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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. AWS 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 “expire after days” 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.

Instance Attribute Summary collapse

Instance Attribute Details

#delete_atTime

A timestamp that specifies when to delete a recovery point.

Returns:

  • (Time)


627
628
629
630
631
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 627

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

#move_to_cold_storage_atTime

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

Returns:

  • (Time)


627
628
629
630
631
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 627

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