Interface CfnVolume.OriginSnapshotProperty
- All Superinterfaces:
 software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
 CfnVolume.OriginSnapshotProperty.Jsii$Proxy
- Enclosing class:
 - CfnVolume
 
@Stability(Stable)
public static interface CfnVolume.OriginSnapshotProperty
extends software.amazon.jsii.JsiiSerializable
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
 
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.fsx.*;
 OriginSnapshotProperty originSnapshotProperty = OriginSnapshotProperty.builder()
         .copyStrategy("copyStrategy")
         .snapshotArn("snapshotArn")
         .build();
 - 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVolume.OriginSnapshotPropertystatic final classAn implementation forCfnVolume.OriginSnapshotProperty - 
Method Summary
Modifier and TypeMethodDescriptionbuilder()The strategy used when copying data from the snapshot to the new volume.Specifies the snapshot to use when creating an OpenZFS volume from a snapshot.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Method Details
- 
getCopyStrategy
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.
 - 
getSnapshotArn
Specifies the snapshot to use when creating an OpenZFS volume from a snapshot. - 
builder
 
 -