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)


117
118
119
120
121
122
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 117

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

#valueString

Use a value between 7 - 379.

Returns:

  • (String)


117
118
119
120
121
122
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 117

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