InstanceBlockDeviceMapping - EC2 Image Builder
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: December 30, 2025.

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

Use to manage Amazon EBS-specific configuration for this mapping.

Type: EbsInstanceBlockDeviceSpecification object

Required: No

noDevice

Use to remove a mapping from the base image.

Type: String

Length Constraints: Fixed length of 0.

Required: No

virtualName

Use to manage 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 AWS SDKs, see the following: