Struct rusoto_ec2::BlockDeviceMapping [−][src]
pub struct BlockDeviceMapping { pub device_name: Option<String>, pub ebs: Option<EbsBlockDevice>, pub no_device: Option<String>, pub virtual_name: Option<String>, }
Describes a block device mapping.
Fields
device_name: Option<String>
The device name (for example, /dev/sdh
or xvdh
).
ebs: Option<EbsBlockDevice>
Parameters used to automatically set up EBS volumes when the instance is launched.
no_device: Option<String>
Suppresses the specified device included in the block device mapping of the AMI.
virtual_name: Option<String>
The virtual device name (ephemeral
N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0
and ephemeral1
.The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.
Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
Trait Implementations
impl Default for BlockDeviceMapping
[src]
impl Default for BlockDeviceMapping
fn default() -> BlockDeviceMapping
[src]
fn default() -> BlockDeviceMapping
Returns the "default value" for a type. Read more
impl Debug for BlockDeviceMapping
[src]
impl Debug for BlockDeviceMapping
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BlockDeviceMapping
[src]
impl Clone for BlockDeviceMapping
fn clone(&self) -> BlockDeviceMapping
[src]
fn clone(&self) -> BlockDeviceMapping
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for BlockDeviceMapping
[src]
impl PartialEq for BlockDeviceMapping
fn eq(&self, other: &BlockDeviceMapping) -> bool
[src]
fn eq(&self, other: &BlockDeviceMapping) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BlockDeviceMapping) -> bool
[src]
fn ne(&self, other: &BlockDeviceMapping) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for BlockDeviceMapping
impl Send for BlockDeviceMapping
impl Sync for BlockDeviceMapping
impl Sync for BlockDeviceMapping