interface VolumeAttachmentReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.VolumeAttachmentReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#VolumeAttachmentReference |
![]() | software.amazon.awscdk.services.ec2.VolumeAttachmentReference |
![]() | aws_cdk.aws_ec2.VolumeAttachmentReference |
![]() | aws-cdk-lib » 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 ec2 } from 'aws-cdk-lib';
const volumeAttachmentReference: 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.