You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudHSMV2::Types::BackupRetentionPolicy

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing BackupRetentionPolicy as input to an Aws::Client method, you can use a vanilla Hash:

{
  type: "DAYS", # accepts DAYS
  value: "BackupRetentionValue",
}

A policy that defines the number of days to retain backups.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.

Possible values:

  • DAYS

Returns:

  • (String)

    The type of backup retention policy.

#valueString

Use a value between 7 - 379.

Returns:

  • (String)

    Use a value between 7 - 379.