Class: Aws::EFS::Types::PutLifecycleConfigurationRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#file_system_idString

The ID of the file system for which you are creating the LifecycleConfiguration object (String).

Returns:

  • (String)


2148
2149
2150
2151
2152
2153
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2148

class PutLifecycleConfigurationRequest < Struct.new(
  :file_system_id,
  :lifecycle_policies)
  SENSITIVE = []
  include Aws::Structure
end

#lifecycle_policiesArray<Types::LifecyclePolicy>

An array of LifecyclePolicy objects that define the file system's LifecycleConfiguration object. A LifecycleConfiguration object informs EFS lifecycle management and EFS Intelligent-Tiering of the following:

  • When to move files in the file system from primary storage to the IA storage class.

  • When to move files that are in IA storage to primary 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, TransitionToIA, TransitionToPrimaryStorageClass. See the example requests in the following section for more information.

Returns:



2148
2149
2150
2151
2152
2153
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2148

class PutLifecycleConfigurationRequest < Struct.new(
  :file_system_id,
  :lifecycle_policies)
  SENSITIVE = []
  include Aws::Structure
end