Skip to content
v2.274.0

BlockDeviceMappingProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesinstances as workspacesinstances } from 'aws-cdk-lib';
const blockDeviceMappingProperty: workspacesinstances.CfnWorkspaceInstance.BlockDeviceMappingProperty = {
  deviceName: 'deviceName',
  ebs: {
    encrypted: false,
    iops: 123,
    kmsKeyId: 'kmsKeyId',
    throughput: 123,
    volumeSize: 123,
    volumeType: 'volumeType',
  },
  noDevice: 'noDevice',
  virtualName: 'virtualName',
};

Properties ​

deviceNamestringdevice_namestrdeviceNameStringDeviceNamestringDeviceName*string#
noDevicestringno_devicestrnoDeviceStringNoDevicestringNoDevice*string#
virtualNamestringvirtual_namestrvirtualNameStringVirtualNamestringVirtualName*string#