Struct aws_sdk_securityhub::model::AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
source · #[non_exhaustive]pub struct AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails { /* private fields */ }
Expand description
A block device for the instance.
Implementations§
source§impl AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
impl AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The device name that is exposed to the EC2 instance. For example, /dev/sdh
or xvdh
.
sourcepub fn ebs(
&self
) -> Option<&AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails>
pub fn ebs(
&self
) -> Option<&AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails>
Parameters that are used to automatically set up Amazon EBS volumes when an instance is launched.
sourcepub fn no_device(&self) -> bool
pub fn no_device(&self) -> bool
Whether to suppress the device that is included in the block device mapping of the Amazon Machine Image (AMI).
If NoDevice
is true
, then you cannot specify Ebs
.>
sourcepub fn virtual_name(&self) -> Option<&str>
pub fn virtual_name(&self) -> Option<&str>
The name of the virtual device (for example, ephemeral0
).
You can provide either VirtualName
or Ebs
, but not both.
source§impl AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
impl AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
.
Trait Implementations§
source§impl Clone for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
impl Clone for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
source§fn clone(&self) -> AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
fn clone(&self) -> AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails> for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
impl PartialEq<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails> for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
source§fn eq(
&self,
other: &AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
) -> bool
fn eq(
&self,
other: &AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.