interface AutocommitPeriodProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.FSx.CfnVolume.AutocommitPeriodProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsfsx#CfnVolume_AutocommitPeriodProperty |
![]() | software.amazon.awscdk.services.fsx.CfnVolume.AutocommitPeriodProperty |
![]() | aws_cdk.aws_fsx.CfnVolume.AutocommitPeriodProperty |
![]() | aws-cdk-lib » aws_fsx » 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.
For more information, see Autocommit .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fsx as fsx } from 'aws-cdk-lib';
const autocommitPeriodProperty: fsx.CfnVolume.AutocommitPeriodProperty = {
type: 'type',
// the properties below are optional
value: 123,
};
Properties
Name | Type | Description |
---|---|---|
type | string | Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. |
value? | number | Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. |
type
Type:
string
Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
Setting this value to NONE
disables autocommit. The default value is NONE
.
value?
Type:
number
(optional)
Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
The following ranges are valid:
Minutes
: 5 - 65,535Hours
: 1 - 65,535Days
: 1 - 3,650Months
: 1 - 120Years
: 1 - 10