AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::WorkspacesInstances::Volume

CfnVolume

Resource Type definition for AWS::WorkspacesInstances::Volume - Manages WorkSpaces Volume resources.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnVolumeProps.

availabilityZoneRequired
string

The Availability Zone in which to create the volume.

encryptedOptional
boolean | IResolvable

Indicates whether the volume should be encrypted.

iopsOptional
number

The number of I/O operations per second (IOPS).

kmsKeyIdOptional
string

The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption.

sizeInGbOptional
number

The size of the volume, in GiBs.

snapshotIdOptional
string

The snapshot from which to create the volume.

tagSpecificationsOptional
IResolvable | IResolvable | TagSpecificationProperty[]

The tags passed to EBS volume.

throughputOptional
number

The throughput to provision for a volume, with a maximum of 1,000 MiB/s.

volumeTypeOptional
string

The volume type.

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

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-workspacesinstances
CFN TypeAWS::WorkspacesInstances::Volume
Properties9

External Links