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< ? tags, Input<String, String> ?>int?> ? temporaryRestoreDays}) -
Creates a new SnapshotCopyArgs.
completionDurationMinutesSpecifies 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.descriptionA description of what the snapshot is.encryptedWhether the snapshot is encrypted.kmsKeyIdThe ARN for the KMS encryption key.permanentRestoreIndicates whether to permanently restore an archived snapshot.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.sourceRegionThe region of the source snapshot.sourceSnapshotIdThe ARN for the snapshot to be copied.storageTierThe name of the storage tier. Valid values arearchiveandstandard. Default value isstandard.tagsA map of tags for the snapshot.temporaryRestoreDaysSpecifies 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
archiveandstandard. Default value isstandard.final -
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