SnapshotState class
Input properties used for looking up and filtering Snapshot resources.
Constructors
-
SnapshotState({Input<
String?> ? arn, Input<String?> ? dataEncryptionKeyId, Input<String?> ? description, Input<bool?> ? encrypted, Input<String?> ? kmsKeyId, Input<String?> ? outpostArn, Input<String?> ? ownerAlias, Input<String?> ? ownerId, Input<bool?> ? permanentRestore, Input<String?> ? region, Input<String?> ? storageTier, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>int?> ? temporaryRestoreDays, Input<String?> ? volumeId, Input<int?> ? volumeSize}) -
Creates a new SnapshotState.
arnARN of the EBS Snapshot.dataEncryptionKeyIdThe data encryption key identifier for the snapshot.descriptionA description of what the snapshot is.encryptedWhether the snapshot is encrypted.kmsKeyIdThe ARN for the KMS encryption key.outpostArnARN of the Outpost on which to create a local snapshot.ownerAliasValue from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.ownerIdThe AWS account ID of the EBS snapshot owner.permanentRestoreIndicates whether to permanently restore an archived snapshot.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.storageTierThe name of the storage tier. Valid values arearchiveandstandard. Default value isstandard.tagsA map of tags to assign to the snapshot. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.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.volumeIdThe Volume ID of which to make a snapshot.volumeSizeThe size of the drive in GiBs.const -
SnapshotState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
ARN of the EBS Snapshot.
final
-
dataEncryptionKeyId
→ Input<
String?> ? -
The data encryption key identifier for the snapshot.
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
-
outpostArn
→ Input<
String?> ? -
ARN of the Outpost on which to create a local snapshot.
final
-
ownerAlias
→ Input<
String?> ? -
Value from an Amazon-maintained list (
amazon,aws-marketplace,microsoft) of snapshot owners.final -
ownerId
→ Input<
String?> ? -
The AWS account ID of the EBS snapshot owner.
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
-
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. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.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
-
volumeId
→ Input<
String?> ? -
The Volume ID of which to make a snapshot.
final
-
volumeSize
→ Input<
int?> ? -
The size of the drive in GiBs.
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