Class: Aws::EFS::Types::LifecyclePolicy

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

Overview

Describes a policy used by lifecycle management that specifies when to transition files into and out of storage classes. For more information, see Managing file system storage.

When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration API action, Amazon EFS requires that each LifecyclePolicy object have only a single transition. This means that in a request body, LifecyclePolicies must be structured as an array of LifecyclePolicy objects, one object for each transition. For more information, see the request examples in PutLifecycleConfiguration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#transition_to_archive ⇒ String

The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.

Returns:

  • (String)


2012
2013
2014
2015
2016
2017
2018
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2012

class LifecyclePolicy < Struct.new(
  :transition_to_ia,
  :transition_to_primary_storage_class,
  :transition_to_archive)
  SENSITIVE = []
  include Aws::Structure
end

#transition_to_ia ⇒ String

The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.

Returns:

  • (String)


2012
2013
2014
2015
2016
2017
2018
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2012

class LifecyclePolicy < Struct.new(
  :transition_to_ia,
  :transition_to_primary_storage_class,
  :transition_to_archive)
  SENSITIVE = []
  include Aws::Structure
end

#transition_to_primary_storage_class ⇒ String

Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.

Returns:

  • (String)


2012
2013
2014
2015
2016
2017
2018
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2012

class LifecyclePolicy < Struct.new(
  :transition_to_ia,
  :transition_to_primary_storage_class,
  :transition_to_archive)
  SENSITIVE = []
  include Aws::Structure
end