Class: Aws::EFS::Types::LifecyclePolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::EFS::Types::LifecyclePolicy
- 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.
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
-
#transition_to_ia ⇒ String
Describes the period of time that a file is not accessed, after which it transitions to IA storage.
-
#transition_to_primary_storage_class ⇒ String
Describes when to transition a file from IA storage to primary storage.
Instance Attribute Details
#transition_to_ia ⇒ String
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.
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_class ⇒ String
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.
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 |