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

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

Overview

Note:

When making an API call, you may pass BackupRetentionPolicy data as a hash:

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

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)


110
111
112
113
114
115
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 110

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

#valueString

Use a value between 7 - 379.

Returns:

  • (String)


110
111
112
113
114
115
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 110

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