models.ebs_volume_info module

class models.ebs_volume_info.EbsVolumeInfo(device_name=None, id=None, is_root_device=None, name=None, size_bytes=None, mtype=None)[source]

Bases: object

Implementation of the ‘EbsVolumeInfo’ model.

Specifies information about an AWS volume attached to an EC2 instance.


device_name (string): Specifies the name of the device. Eg - /dev/sdb. id (string): Specifies the ID of the volume. is_root_device (bool): Specifies if the volume is attached as root device. name (string): Specifies the name of the volume. size_bytes (long|int): Specifies the size of the volume in bytes. mtype (string): Specifies the type of the volume. Eg - gp2, io1.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.


object: An instance of this structure class.