AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::WorkspacesInstances::VolumeAssociation

CfnVolumeAssociation

Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnVolumeAssociationProps.

deviceRequired
string

The device name for the volume attachment.

volumeIdRequired
string

ID of the volume to attach to the workspace instance.

workspaceInstanceIdRequired
string

ID of the workspace instance to associate with the volume.

disassociateModeOptional
string

Mode to use when disassociating 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

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-workspacesinstances
CFN TypeAWS::WorkspacesInstances::VolumeAssociation
Properties4

Related Constructs

External Links