Class CfnFileSystem.LifecyclePolicyProperty
Describes a policy used by Lifecycle management that specifies when to transition files into and out of the EFS storage classes.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EFS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LifecyclePolicyProperty : Object, CfnFileSystem.ILifecyclePolicyProperty
Syntax (vb)
Public Class LifecyclePolicyProperty
Inherits Object
Implements CfnFileSystem.ILifecyclePolicyProperty
Remarks
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EFS;
var lifecyclePolicyProperty = new LifecyclePolicyProperty {
TransitionToArchive = "transitionToArchive",
TransitionToIa = "transitionToIa",
TransitionToPrimaryStorageClass = "transitionToPrimaryStorageClass"
};
Synopsis
Constructors
Lifecycle |
Properties
Transition |
The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. |
Transition |
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. |
Transition |
Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. |
Constructors
LifecyclePolicyProperty()
public LifecyclePolicyProperty()
Properties
TransitionToArchive
The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage.
public string TransitionToArchive { get; set; }
Property Value
System.
Remarks
Metadata operations such as listing the contents of a directory don't count as file access events.
TransitionToIa
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.
public string TransitionToIa { get; set; }
Property Value
System.
Remarks
Metadata operations such as listing the contents of a directory don't count as file access events.
TransitionToPrimaryStorageClass
Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage.
public string TransitionToPrimaryStorageClass { get; set; }
Property Value
System.
Remarks
Metadata operations such as listing the contents of a directory don't count as file access events.