interface CfnVolumeProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.FSx.CfnVolumeProps |
Java | software.amazon.awscdk.services.fsx.CfnVolumeProps |
Python | aws_cdk.aws_fsx.CfnVolumeProps |
TypeScript | @aws-cdk/aws-fsx » CfnVolumeProps |
Properties for defining a CfnVolume
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as fsx from '@aws-cdk/aws-fsx';
const cfnVolumeProps: fsx.CfnVolumeProps = {
name: 'name',
// the properties below are optional
backupId: 'backupId',
ontapConfiguration: {
sizeInMegabytes: 'sizeInMegabytes',
storageVirtualMachineId: 'storageVirtualMachineId',
// the properties below are optional
copyTagsToBackups: 'copyTagsToBackups',
junctionPath: 'junctionPath',
ontapVolumeType: 'ontapVolumeType',
securityStyle: 'securityStyle',
snapshotPolicy: 'snapshotPolicy',
storageEfficiencyEnabled: 'storageEfficiencyEnabled',
tieringPolicy: {
coolingPeriod: 123,
name: 'name',
},
},
openZfsConfiguration: {
parentVolumeId: 'parentVolumeId',
// the properties below are optional
copyTagsToSnapshots: false,
dataCompressionType: 'dataCompressionType',
nfsExports: [{
clientConfigurations: [{
clients: 'clients',
options: ['options'],
}],
}],
options: ['options'],
originSnapshot: {
copyStrategy: 'copyStrategy',
snapshotArn: 'snapshotArn',
},
readOnly: false,
recordSizeKiB: 123,
storageCapacityQuotaGiB: 123,
storageCapacityReservationGiB: 123,
userAndGroupQuotas: [{
id: 123,
storageCapacityQuotaGiB: 123,
type: 'type',
}],
},
tags: [{
key: 'key',
value: 'value',
}],
volumeType: 'volumeType',
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the volume. |
backup | string | Specifies the ID of the volume backup to use to create a new volume. |
ontap | IResolvable | Ontap | The configuration of an Amazon FSx for NetApp ONTAP volume. |
open | IResolvable | Open | The configuration of an Amazon FSx for OpenZFS volume. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
volume | string | The type of the volume. |
name
Type:
string
The name of the volume.
backupId?
Type:
string
(optional)
Specifies the ID of the volume backup to use to create a new volume.
ontapConfiguration?
Type:
IResolvable
|
Ontap
(optional)
The configuration of an Amazon FSx for NetApp ONTAP volume.
openZfsConfiguration?
Type:
IResolvable
|
Open
(optional)
The configuration of an Amazon FSx for OpenZFS volume.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
volumeType?
Type:
string
(optional)
The type of the volume.