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< ? tags, Input<String, String> ?>int?> ? temporaryRestoreDays}) -
Creates a new SnapshotImportArgs.
clientDataThe client-specific data. Detailed below.descriptionThe description string for the import snapshot task.diskContainerInformation about the disk container. Detailed below.encryptedSpecifies 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.kmsKeyIdAn 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.permanentRestoreIndicates whether to permanently restore an archived snapshot.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.roleNameThe 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:vmimportstorageTierThe name of the storage tier. Valid values arearchiveandstandard. Default value isstandard.tagsA map of tags to assign to 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 -
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:
vmimportfinal - 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
archiveandstandard. Default value isstandard.final -
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