Use this action to manage storage for your file system
Source:R/efs_operations.R
efs_put_lifecycle_configuration.RdUse this action to manage storage for your file system. A LifecycleConfiguration consists of one or more LifecyclePolicy objects that define the following:
See https://www.paws-r-sdk.com/docs/efs_put_lifecycle_configuration/ for full documentation.
Arguments
- FileSystemId
[required] The ID of the file system for which you are creating the
LifecycleConfigurationobject (String).- LifecyclePolicies
[required] An array of
LifecyclePolicyobjects that define the file system'sLifecycleConfigurationobject. ALifecycleConfigurationobject informs lifecycle management of the following:TransitionToIA– When to move files in the file system from primary storage (Standard storage class) into the Infrequent Access (IA) storage.TransitionToArchive– When to move files in the file system from their current storage class (either IA or Standard storage) into the Archive storage.File systems cannot transition into Archive storage before transitioning into IA storage. Therefore, TransitionToArchive must either not be set or must be later than TransitionToIA.
The Archive storage class is available only for file systems that use the Elastic throughput mode and the General Purpose performance mode.
TransitionToPrimaryStorageClass– Whether to move files in the file system back to primary storage (Standard storage class) after they are accessed in IA or Archive storage.
When using the
put-lifecycle-configurationCLI command or theput_lifecycle_configurationAPI action, Amazon EFS requires that eachLifecyclePolicyobject have only a single transition. This means that in a request body,LifecyclePoliciesmust be structured as an array ofLifecyclePolicyobjects, one object for each storage transition. See the example requests in the following section for more information.