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

Class: Aws::Backup::Types::Lifecycle

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

Overview

Note:

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

{
  move_to_cold_storage_after_days: 1,
  delete_after_days: 1,
}

Contains an array of Transition objects specifying how long in days before a recovery point transitions to cold storage or is deleted.

Instance Attribute Summary collapse

Instance Attribute Details

#delete_after_daysInteger

Specifies the number of days after creation that a recovery point is deleted. Must be greater than MoveToColdStorageAfterDays.

Returns:

  • (Integer)


2111
2112
2113
2114
2115
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 2111

class Lifecycle < Struct.new(
  :move_to_cold_storage_after_days,
  :delete_after_days)
  include Aws::Structure
end

#move_to_cold_storage_after_daysInteger

Specifies the number of days after creation that a recovery point is moved to cold storage.

Returns:

  • (Integer)


2111
2112
2113
2114
2115
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 2111

class Lifecycle < Struct.new(
  :move_to_cold_storage_after_days,
  :delete_after_days)
  include Aws::Structure
end