/AWS1/CL_FSXCREOPENZFSORIGIN00¶
The snapshot configuration to use when creating an Amazon FSx for OpenZFS volume from a snapshot.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_snapshotarn TYPE /AWS1/FSXRESOURCEARN /AWS1/FSXRESOURCEARN¶
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
iv_copystrategy TYPE /AWS1/FSXOPENZFSCOPYSTRATEGY /AWS1/FSXOPENZFSCOPYSTRATEGY¶
Specifies the strategy used when copying data from the snapshot to the new volume.
CLONE- The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying data from the snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data.
FULL_COPY- Copies all data from the snapshot to the new volume.Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system.
The
INCREMENTAL_COPYoption is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.
Queryable Attributes¶
SnapshotARN¶
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SNAPSHOTARN() |
Getter for SNAPSHOTARN, with configurable default |
ASK_SNAPSHOTARN() |
Getter for SNAPSHOTARN w/ exceptions if field has no value |
HAS_SNAPSHOTARN() |
Determine if SNAPSHOTARN has a value |
CopyStrategy¶
Specifies the strategy used when copying data from the snapshot to the new volume.
CLONE- The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying data from the snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data.
FULL_COPY- Copies all data from the snapshot to the new volume.Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system.
The
INCREMENTAL_COPYoption is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_COPYSTRATEGY() |
Getter for COPYSTRATEGY, with configurable default |
ASK_COPYSTRATEGY() |
Getter for COPYSTRATEGY w/ exceptions if field has no value |
HAS_COPYSTRATEGY() |
Determine if COPYSTRATEGY has a value |