VolumeAttachmentReference
- class aws_cdk.aws_ec2.VolumeAttachmentReference(*, instance_id, volume_id)
Bases:
object
A reference to a VolumeAttachment resource.
- Parameters:
instance_id (
str
) – The InstanceId of the VolumeAttachment resource.volume_id (
str
) – The VolumeId of the VolumeAttachment resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 volume_attachment_reference = ec2.VolumeAttachmentReference( instance_id="instanceId", volume_id="volumeId" )
Attributes
- instance_id
The InstanceId of the VolumeAttachment resource.
- volume_id
The VolumeId of the VolumeAttachment resource.