FileSystemLifecyclePolicyArgs

data class FileSystemLifecyclePolicyArgs(val transitionToArchive: Output<String>? = null, val transitionToIa: Output<String>? = null, val transitionToPrimaryStorageClass: Output<String>? = null) : ConvertibleToJava<FileSystemLifecyclePolicyArgs>

Describes a policy used by Lifecycle management that specifies when to transition files into and out of the EFS storage classes. For more information, see Managing file system storage. + 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`, `TransitionToArchive`, `TransitionToPrimaryStorageClass`.

  • See the AWS::EFS::FileSystem examples for the correct `LifecyclePolicy` structure. Do not use the syntax shown on this page.

Constructors

Link copied to clipboard
constructor(transitionToArchive: Output<String>? = null, transitionToIa: Output<String>? = null, transitionToPrimaryStorageClass: Output<String>? = null)

Properties

Link copied to clipboard
val transitionToArchive: Output<String>? = null

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.

Link copied to clipboard
val transitionToIa: Output<String>? = null

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.

Link copied to clipboard

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.

Functions

Link copied to clipboard
open override fun toJava(): FileSystemLifecyclePolicyArgs