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 EFS lifecycle management and EFS Intelligent-Tiering that specifies when to transition files into and out of the file system's Infrequent Access (IA) storage class. For more information, see EFS Intelligent‐Tiering and EFS Lifecycle Management.

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, TransitionToIA, TransitionToPrimaryStorageClass. For more information, see the request examples in PutLifecycleConfiguration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#transition_to_iaString

Describes the period of time that a file is not accessed, after which it transitions to IA storage. Metadata operations such as listing the contents of a directory don't count as file access events.

Returns:

  • (String)


1709
1710
1711
1712
1713
1714
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 1709

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

#transition_to_primary_storage_classString

Describes when to transition a file from IA storage to primary storage. Metadata operations such as listing the contents of a directory don't count as file access events.

Returns:

  • (String)


1709
1710
1711
1712
1713
1714
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 1709

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