View a markdown version of this page

InstanceBlockDeviceMapping - EC2 Image Builder
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

InstanceBlockDeviceMapping

Defines block device mappings for the instance used to configure your image.

Contents

deviceName

The device to which these mappings apply.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

ebs

The Amazon EBS-specific configuration for this mapping.

Type: EbsInstanceBlockDeviceSpecification object

Required: No

noDevice

Specifies a mapping to remove from the base image.

Type: String

Length Constraints: Fixed length of 0.

Required: No

virtualName

The virtual device name for instance ephemeral devices.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

See Also

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