Class: Aws::CloudHSMV2::Types::BackupRetentionPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudHSMV2::Types::BackupRetentionPolicy
- 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
-
#type ⇒ String
The type of backup retention policy.
-
#value ⇒ String
Use a value between 7 - 379.
Instance Attribute Details
#type ⇒ String
The type of backup retention policy. For the DAYS
type, the value
is the number of days to retain backups.
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 |
#value ⇒ String
Use a value between 7 - 379.
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 |