efs_put_lifecycle_configuration: Use this action to manage EFS lifecycle management and EFS...

View source: R/efs_operations.R

efs_put_lifecycle_configurationR Documentation

Use this action to manage EFS lifecycle management and EFS Intelligent-Tiering

Description

Use this action to manage EFS lifecycle management and EFS Intelligent-Tiering. 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.

Usage

efs_put_lifecycle_configuration(FileSystemId, LifecyclePolicies)

Arguments

FileSystemId

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

LifecyclePolicies

[required] 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 put_lifecycle_configuration 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.


paws.storage documentation built on Sept. 12, 2023, 1:23 a.m.