AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::FSx::Volume

CfnVolume

Creates an FSx for ONTAP or Amazon FSx for OpenZFS storage volume.

Import

import { CfnVolume } from 'aws-cdk-lib/aws-fsx';

Or use the module namespace:

import * as fsx from 'aws-cdk-lib/aws-fsx';
// fsx.CfnVolume

Properties

Configuration passed to the constructor as CfnVolumeProps.

nameRequired
string

The name of the volume.

backupIdOptional
string

Specifies the ID of the volume backup to use to create a new volume.

ontapConfigurationOptional
IResolvable | OntapConfigurationProperty

The configuration of an Amazon FSx for NetApp ONTAP volume.

openZfsConfigurationOptional
IResolvable | OpenZFSConfigurationProperty

The configuration of an Amazon FSx for OpenZFS volume.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

volumeTypeOptional
string

The type of the volume.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter