选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

FleetBlockDeviceMappingRequest - Amazon Elastic Compute Cloud
此页面尚未翻译为您的语言。 请求翻译

FleetBlockDeviceMappingRequest

Describes a block device mapping, which defines the EBS volumes and instance store volumes to attach to an instance at launch.

To override a block device mapping specified in the launch template:

  • Specify the exact same DeviceName here as specified in the launch template.

  • Only specify the parameters you want to change.

  • Any parameters you don't specify here will keep their original launch template values.

To add a new block device mapping:

  • Specify a DeviceName that doesn't exist in the launch template.

  • Specify all desired parameters here.

Contents

DeviceName

The device name (for example, /dev/sdh or xvdh).

Type: String

Required: No

Ebs

Parameters used to automatically set up EBS volumes when the instance is launched.

Type: FleetEbsBlockDeviceRequest object

Required: No

NoDevice

To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.

Type: String

Required: No

VirtualName

The virtual device name (ephemeralN). 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.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

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.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。