Amazon EC2 Image Builder · JSON Structure

Ec2 Image Builder Instance Block Device Mapping Structure

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

Type: object Properties: 4
Amazon Web ServicesAutomationContainer ImagesEC2Image BuildingVirtual Machine Images

InstanceBlockDeviceMapping is a JSON Structure definition published by Amazon EC2 Image Builder, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

deviceName ebs virtualName noDevice

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-image-builder/refs/heads/main/json-structure/ec2-image-builder-instance-block-device-mapping-structure.json",
  "name": "InstanceBlockDeviceMapping",
  "description": "Defines block device mappings for the instance used to configure your image.",
  "type": "object",
  "properties": {
    "deviceName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": "The device to which these mappings apply."
        }
      ]
    },
    "ebs": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EbsInstanceBlockDeviceSpecification"
        },
        {
          "description": "Use to manage Amazon EBS-specific configuration for this mapping."
        }
      ]
    },
    "virtualName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": "Use to manage instance ephemeral devices."
        }
      ]
    },
    "noDevice": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EmptyString"
        },
        {
          "description": "Use to remove a mapping from the base image."
        }
      ]
    }
  }
}