SnapshotCopyArgs constructor

const SnapshotCopyArgs({
  1. Input<int?>? completionDurationMinutes,
  2. Input<String?>? description,
  3. Input<bool?>? encrypted,
  4. Input<String?>? kmsKeyId,
  5. Input<bool?>? permanentRestore,
  6. Input<String?>? region,
  7. required Input<String> sourceRegion,
  8. required Input<String> sourceSnapshotId,
  9. Input<String?>? storageTier,
  10. Input<Map<String, String>?>? tags,
  11. 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.

Implementation

const SnapshotCopyArgs({
  this.completionDurationMinutes,
  this.description,
  this.encrypted,
  this.kmsKeyId,
  this.permanentRestore,
  this.region,
  required this.sourceRegion,
  required this.sourceSnapshotId,
  this.storageTier,
  this.tags,
  this.temporaryRestoreDays,
});