interface VolumeAttachmentReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.EC2.VolumeAttachmentReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsec2#VolumeAttachmentReference |
Java | software.amazon.awscdk.interfaces.ec2.VolumeAttachmentReference |
Python | aws_cdk.interfaces.aws_ec2.VolumeAttachmentReference |
TypeScript | aws-cdk-lib » interfaces » aws_ec2 » VolumeAttachmentReference |
A reference to a VolumeAttachment resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_aws_ec2 } from 'aws-cdk-lib/interfaces';
const volumeAttachmentReference: interfaces_aws_ec2.VolumeAttachmentReference = {
instanceId: 'instanceId',
volumeId: 'volumeId',
};
Properties
| Name | Type | Description |
|---|---|---|
| instance | string | The InstanceId of the VolumeAttachment resource. |
| volume | string | The VolumeId of the VolumeAttachment resource. |
instanceId
Type:
string
The InstanceId of the VolumeAttachment resource.
volumeId
Type:
string
The VolumeId of the VolumeAttachment resource.

.NET
Go
Java
Python
TypeScript