SnapshotArgs class
The set of arguments for Snapshot. The set of arguments for Snapshot.
Constructors
-
SnapshotArgs({Input<
String?> ? description, Input<String?> ? outpostArn, Input<bool?> ? permanentRestore, Input<String?> ? region, Input<String?> ? storageTier, Input<Map< ? tags, Input<String, String> ?>int?> ? temporaryRestoreDays, required Input<String> volumeId}) -
Creates a new SnapshotArgs.
descriptionA description of what the snapshot is.outpostArnARN of the Outpost on which to create a local snapshot.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.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.const -
SnapshotArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String?> ? -
A description of what the snapshot is.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
outpostArn
→ Input<
String?> ? -
ARN of the Outpost on which to create a local snapshot.
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 -
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
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