interface OriginSnapshotProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.FSx.Mixins.CfnVolumePropsMixin.OriginSnapshotProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsfsx/mixins#CfnVolumePropsMixin_OriginSnapshotProperty |
Java | software.amazon.awscdk.mixins.preview.services.fsx.mixins.CfnVolumePropsMixin.OriginSnapshotProperty |
Python | aws_cdk.mixins_preview.aws_fsx.mixins.CfnVolumePropsMixin.OriginSnapshotProperty |
TypeScript | @aws-cdk/mixins-preview » aws_fsx » mixins » CfnVolumePropsMixin » OriginSnapshotProperty |
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 { mixins as fsx_mixins } from '@aws-cdk/mixins-preview/aws-fsx';
const originSnapshotProperty: fsx_mixins.CfnVolumePropsMixin.OriginSnapshotProperty = {
copyStrategy: 'copyStrategy',
snapshotArn: 'snapshotArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| copy | string | Specifies the strategy used when copying data from the snapshot to the new volume. |
| snapshot | string | Specifies the snapshot to use when creating an OpenZFS volume from a snapshot. |
copyStrategy?
Type:
string
(optional)
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 .
snapshotArn?
Type:
string
(optional)
Specifies the snapshot to use when creating an OpenZFS volume from a snapshot.

.NET
Go
Java
Python
TypeScript