Skip to content
v2.274.0

VolumeAttachmentReference Struct ​

A reference to a VolumeAttachment resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const volumeAttachmentReference: interfaces_ec2.VolumeAttachmentReference = {
  instanceId: 'instanceId',
  volumeId: 'volumeId',
};

Properties ​

instanceIdstringinstance_idstrinstanceIdStringInstanceIdstringInstanceId*stringrequired#
The InstanceId of the VolumeAttachment resource.
volumeIdstringvolume_idstrvolumeIdStringVolumeIdstringVolumeId*stringrequired#
The VolumeId of the VolumeAttachment resource.