AutocommitPeriod - Amazon FSx
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AutocommitPeriod

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.

Contents

Type

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.

Type: String

Valid Values: MINUTES | HOURS | DAYS | MONTHS | YEARS | NONE

Required: Yes

Value

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,535

  • Hours: 1 - 65,535

  • Days: 1 - 3,650

  • Months: 1 - 120

  • Years: 1 - 10

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 65535.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: