SnapshotCopyArgs class

The set of arguments for SnapshotCopy. The set of arguments for SnapshotCopy.

Constructors

SnapshotCopyArgs({Input<int?>? completionDurationMinutes, Input<String?>? description, Input<bool?>? encrypted, Input<String?>? kmsKeyId, Input<bool?>? permanentRestore, Input<String?>? region, required Input<String> sourceRegion, required Input<String> sourceSnapshotId, Input<String?>? storageTier, Input<Map<String, String>?>? tags, Input<int?>? temporaryRestoreDays})
Creates a new SnapshotCopyArgs. completionDurationMinutes Specifies a completion duration to initiate a time-based snapshot copy. Time-based snapshot copy operations complete within the specified duration. Value must be between 15 and 2880 minutes, in 15 minute increments only. description A description of what the snapshot is. encrypted Whether the snapshot is encrypted. kmsKeyId The ARN for the KMS encryption key. permanentRestore Indicates whether to permanently restore an archived snapshot. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. sourceRegion The region of the source snapshot. sourceSnapshotId The ARN for the snapshot to be copied. storageTier The name of the storage tier. Valid values are archive and standard. Default value is standard. tags A map of tags for the snapshot. temporaryRestoreDays Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
const
SnapshotCopyArgs.fromMap(Map<String, dynamic> map)
factory

Properties

completionDurationMinutes → Input<int?>?
Specifies a completion duration to initiate a time-based snapshot copy. Time-based snapshot copy operations complete within the specified duration. Value must be between 15 and 2880 minutes, in 15 minute increments only.
final
description → Input<String?>?
A description of what the snapshot is.
final
encrypted → Input<bool?>?
Whether the snapshot is encrypted.
final
hashCode → int
The hash code for this object.
no setterinherited
kmsKeyId → Input<String?>?
The ARN for the KMS encryption key.
final
permanentRestore → Input<bool?>?
Indicates whether to permanently restore an archived snapshot.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceRegion → Input<String>
The region of the source snapshot.
final
sourceSnapshotId → Input<String>
The ARN for the snapshot to be copied.
final
storageTier → Input<String?>?
The name of the storage tier. Valid values are archive and standard. Default value is standard.
final
tags → Input<Map<String, String>?>?
A map of tags for the snapshot.
final
temporaryRestoreDays → Input<int?>?
Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited