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 lifecycle management that specifies when to transition files into and out of storage classes. For more information, see Managing file system storage.
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
-
#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.
-
#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.
-
#transition_to_primary_storage_class ⇒ String
Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage.
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.
1897 1898 1899 1900 1901 1902 1903 |
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 1897 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.
1897 1898 1899 1900 1901 1902 1903 |
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 1897 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.
1897 1898 1899 1900 1901 1902 1903 |
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 1897 class LifecyclePolicy < Struct.new( :transition_to_ia, :transition_to_primary_storage_class, :transition_to_archive) SENSITIVE = [] include Aws::Structure end |