SnapshotPolicyRetentionPeriod - Amazon FSx
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

SnapshotPolicyRetentionPeriod

The length of time that snapshots created by this schedule are locked. This setting applies only to volumes that have snapshot locking enabled.

Contents

Type

The unit of time for the retention period. If you set it to INFINITE, the snapshots are retained forever.

Type: String

Valid Values: SECONDS | MINUTES | HOURS | DAYS | MONTHS | YEARS | INFINITE

Required: Yes

Value

Defines the amount of time for the retention period. You can't set a value for INFINITE.

Type: Integer

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

Required: No

See Also

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