AWS::EFS::FileSystem LifecyclePolicy - AWS CloudFormation

AWS::EFS::FileSystem LifecyclePolicy

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.

Note
  • Each LifecyclePolicy object can 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 AWS::EFS::FileSystem examples for the correct LifecyclePolicy structure. Do not use the syntax shown on this page.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "TransitionToIA" : String, "TransitionToPrimaryStorageClass" : String }

Properties

TransitionToIA

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.

Required: No

Type: String

Allowed values: AFTER_14_DAYS | AFTER_30_DAYS | AFTER_60_DAYS | AFTER_7_DAYS | AFTER_90_DAYS

Update requires: No interruption

TransitionToPrimaryStorageClass

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.

Required: No

Type: String

Allowed values: AFTER_1_ACCESS

Update requires: No interruption