# VolumeAttachmentReference

A reference to a VolumeAttachment resource.

- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## 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

- `instanceId`: string (required) — The InstanceId of the VolumeAttachment resource.

- `volumeId`: string (required) — The VolumeId of the VolumeAttachment resource.
