Interface CfnFileSystem.ILifecyclePolicyProperty
Describes a policy used by Lifecycle management that specifies when to transition files into and out of the EFS storage classes.
Namespace: Amazon.CDK.AWS.EFS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILifecyclePolicyProperty
Syntax (vb)
Public Interface 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
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. |
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.
virtual string TransitionToArchive { get; }
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.
virtual string TransitionToIa { get; }
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.
virtual string TransitionToPrimaryStorageClass { get; }
Property Value
System.
Remarks
Metadata operations such as listing the contents of a directory don't count as file access events.