Class: Aws::AutoScaling::Types::BlockDeviceMapping
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::BlockDeviceMapping
- Defined in:
- gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb
Overview
Describes a block device mapping.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#device_name ⇒ String
The device name assigned to the volume (for example,
/dev/sdh
orxvdh
). -
#ebs ⇒ Types::Ebs
Information to attach an EBS volume to an instance at launch.
-
#no_device ⇒ Boolean
Setting this value to
true
prevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch. -
#virtual_name ⇒ String
The name of the instance store volume (virtual device) to attach to an instance at launch.
Instance Attribute Details
#device_name ⇒ String
The device name assigned to the volume (for example, /dev/sdh
or
xvdh
). For more information, see Device naming on Linux
instances in the Amazon EC2 User Guide for Linux Instances.
Ebs
, NoDevice
, or
VirtualName
.
805 806 807 808 809 810 811 812 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 805 class BlockDeviceMapping < Struct.new( :virtual_name, :device_name, :ebs, :no_device) SENSITIVE = [] include Aws::Structure end |
#ebs ⇒ Types::Ebs
Information to attach an EBS volume to an instance at launch.
805 806 807 808 809 810 811 812 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 805 class BlockDeviceMapping < Struct.new( :virtual_name, :device_name, :ebs, :no_device) SENSITIVE = [] include Aws::Structure end |
#no_device ⇒ Boolean
Setting this value to true
prevents a volume that is included in
the block device mapping of the AMI from being mapped to the
specified device name at launch.
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.
805 806 807 808 809 810 811 812 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 805 class BlockDeviceMapping < Struct.new( :virtual_name, :device_name, :ebs, :no_device) SENSITIVE = [] include Aws::Structure end |
#virtual_name ⇒ String
The name of the instance store volume (virtual device) to attach to
an instance at launch. The name must be in the form ephemeralX
where X is a number starting from zero (0), for example,
ephemeral0
.
805 806 807 808 809 810 811 812 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 805 class BlockDeviceMapping < Struct.new( :virtual_name, :device_name, :ebs, :no_device) SENSITIVE = [] include Aws::Structure end |