SnapshotImportArgs class

The set of arguments for SnapshotImport. The set of arguments for SnapshotImport.

Constructors

SnapshotImportArgs({Input<SnapshotImportClientData?>? clientData, Input<String?>? description, required Input<SnapshotImportDiskContainer> diskContainer, Input<bool?>? encrypted, Input<String?>? kmsKeyId, Input<bool?>? permanentRestore, Input<String?>? region, Input<String?>? roleName, Input<String?>? storageTier, Input<Map<String, String>?>? tags, Input<int?>? temporaryRestoreDays})
Creates a new SnapshotImportArgs. clientData The client-specific data. Detailed below. description The description string for the import snapshot task. diskContainer Information about the disk container. Detailed below. encrypted Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId. kmsKeyId An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set. 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. roleName The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport storageTier The name of the storage tier. Valid values are archive and standard. Default value is standard. tags A map of tags to assign to 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
SnapshotImportArgs.fromMap(Map<String, dynamic> map)
factory

Properties

clientData → Input<SnapshotImportClientData?>?
The client-specific data. Detailed below.
final
description → Input<String?>?
The description string for the import snapshot task.
final
diskContainer → Input<SnapshotImportDiskContainer>
Information about the disk container. Detailed below.
final
encrypted → Input<bool?>?
Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
final
hashCode → int
The hash code for this object.
no setterinherited
kmsKeyId → Input<String?>?
An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
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
roleName → Input<String?>?
The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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 to assign to 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