Class CfnVolume.AutocommitPeriodProperty
Sets the autocommit period of files in an FSx for ONTAP SnapLock volume, which determines how long the files must remain unmodified before they're automatically transitioned to the write once, read many (WORM) state.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.FSx
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AutocommitPeriodProperty : Object, CfnVolume.IAutocommitPeriodProperty
Syntax (vb)
Public Class AutocommitPeriodProperty
Inherits Object
Implements CfnVolume.IAutocommitPeriodProperty
Remarks
For more information, see Autocommit .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FSx;
var autocommitPeriodProperty = new AutocommitPeriodProperty {
Type = "type",
// the properties below are optional
Value = 123
};
Synopsis
Constructors
Autocommit |
Properties
Type | Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. |
Value | Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. |
Constructors
AutocommitPeriodProperty()
public AutocommitPeriodProperty()
Properties
Type
Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
public string Type { get; set; }
Property Value
System.
Remarks
Setting this value to NONE
disables autocommit. The default value is NONE
.
Value
Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
public Nullable<double> Value { get; set; }
Property Value
System.
Remarks
The following ranges are valid: