NAME
Paws::AutoScaling::BlockDeviceMapping
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::AutoScaling::BlockDeviceMapping object:
$service_obj->Method(Att1 => { DeviceName => $value, ..., VirtualName => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::BlockDeviceMapping object:
$result = $service_obj->Method(...);
$result->Att1->DeviceName
DESCRIPTION
Describes a block device mapping.
ATTRIBUTES
REQUIRED DeviceName => Str
The device name exposed to the EC2 instance (for example, /dev/sdh
or xvdh
). For more information, see Device Naming on Linux Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html) in the Amazon EC2 User Guide for Linux Instances.
Ebs => Paws::AutoScaling::Ebs
Parameters used to automatically set up EBS volumes when an instance is launched.
You can specify either VirtualName
or Ebs
, but not both.
NoDevice => Bool
Setting this value to true
suppresses the specified device included in the block device mapping of the AMI.
If NoDevice
is true
for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.
If you specify NoDevice
, you cannot specify Ebs
.
VirtualName => Str
The name of the virtual device (for example, ephemeral0
).
You can specify either VirtualName
or Ebs
, but not both.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::AutoScaling
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues