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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

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.

Returns:

  • (String)


102
103
104
105
106
107
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 102

class BackupRetentionPolicy < Struct.new(
  :type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

Use a value between 7 - 379.

Returns:

  • (String)


102
103
104
105
106
107
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 102

class BackupRetentionPolicy < Struct.new(
  :type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end