Amazon EC2 · Schema

ImportImageRequest

Amazon Web ServicesCloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual Machines

Properties

Name Type Description
Architecture string The architecture of the virtual machine. Valid values: i386 | x86_64
ClientData object
ClientToken string The token to enable idempotency for VM import requests.
Description string A description string for the import image task.
DiskContainers array Information about the disk containers.
DryRun boolean Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRun
Encrypted boolean Specifies whether the destination AMI of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId. For more information, see
Hypervisor string The target hypervisor platform. Valid values: xen
KmsKeyId string An identifier for the symmetric KMS key to use when creating the encrypted AMI. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the defaul
LicenseType string The license type to be used for the Amazon Machine Image (AMI) after importing. Specify AWS to replace the source-system license with an Amazon Web Services license or BYOL to retain the source-system
Platform string The operating system of the virtual machine. If you import a VM that is compatible with Unified Extensible Firmware Interface (UEFI) using an EBS snapshot, you must specify a value for the platform. V
RoleName string The name of the role to use when not using the default role, 'vmimport'.
LicenseSpecifications array The ARNs of the license configurations.
TagSpecifications array The tags to apply to the import image task during creation.
UsageOperation string The usage operation value. For more information, see Licensing options in the VM Import/Export User Guide.
BootMode string The boot mode of the virtual machine. The uefi-preferred boot mode isn't supported for importing images. For more information, see Boot modes in the VM Import/Export User Guide.
View JSON Schema on GitHub

JSON Schema

amazon-ec2-import-image-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-import-image-request-schema.json",
  "title": "ImportImageRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-image-api-openapi.yml#/components/schemas/ImportImageRequest",
  "type": "object",
  "properties": {
    "Architecture": {
      "type": "string",
      "description": "The architecture of the virtual machine. Valid values: i386 | x86_64"
    },
    "ClientData": {
      "$ref": "#/$defs/ClientData"
    },
    "ClientToken": {
      "type": "string",
      "description": "The token to enable idempotency for VM import requests."
    },
    "Description": {
      "type": "string",
      "description": "A description string for the import image task."
    },
    "DiskContainers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ImageDiskContainer"
      },
      "description": "Information about the disk containers."
    },
    "DryRun": {
      "type": "boolean",
      "description": "Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation."
    },
    "Encrypted": {
      "type": "boolean",
      "description": "Specifies whether the destination AMI of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide."
    },
    "Hypervisor": {
      "type": "string",
      "description": "The target hypervisor platform. Valid values: xen"
    },
    "KmsKeyId": {
      "type": "string",
      "description": "An identifier for the symmetric KMS key to use when creating the encrypted AMI. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set. The KMS key identifier may be provided in any of the following formats: Key ID Key alias ARN using key ID. The ID ARN contains the arn:aws:kms namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the key namespace, and then the key ID. For example, arn:aws:kms:u"
    },
    "LicenseType": {
      "type": "string",
      "description": "The license type to be used for the Amazon Machine Image (AMI) after importing. Specify AWS to replace the source-system license with an Amazon Web Services license or BYOL to retain the source-system license. Leaving this parameter undefined is the same as choosing AWS when importing a Windows Server operating system, and the same as choosing BYOL when importing a Windows client operating system (such as Windows 10) or a Linux operating system. To use BYOL, you must have existing licenses with rights to use these licenses in a third party cloud, such as Amazon Web Services. For more informati"
    },
    "Platform": {
      "type": "string",
      "description": "The operating system of the virtual machine. If you import a VM that is compatible with Unified Extensible Firmware Interface (UEFI) using an EBS snapshot, you must specify a value for the platform. Valid values: Windows | Linux"
    },
    "RoleName": {
      "type": "string",
      "description": "The name of the role to use when not using the default role, 'vmimport'."
    },
    "LicenseSpecifications": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ImportImageLicenseConfigurationRequest"
      },
      "description": "The ARNs of the license configurations."
    },
    "TagSpecifications": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TagSpecification"
      },
      "description": "The tags to apply to the import image task during creation."
    },
    "UsageOperation": {
      "type": "string",
      "description": "The usage operation value. For more information, see Licensing options in the VM Import/Export User Guide."
    },
    "BootMode": {
      "type": "string",
      "enum": [
        "legacy-bios",
        "uefi",
        "uefi-preferred"
      ],
      "description": "The boot mode of the virtual machine. The uefi-preferred boot mode isn't supported for importing images. For more information, see Boot modes in the VM Import/Export User Guide."
    }
  },
  "$defs": {
    "ClientData": {
      "type": "object",
      "properties": {
        "Comment": {
          "type": "string",
          "description": "A user-defined comment about the disk upload."
        },
        "UploadEnd": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the disk upload ends."
        },
        "UploadSize": {
          "type": "number",
          "description": "The size of the uploaded disk image, in GiB."
        },
        "UploadStart": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the disk upload starts."
        }
      }
    },
    "ImageDiskContainer": {
      "type": "object",
      "properties": {
        "Description": {
          "type": "string",
          "description": "The description of the disk image."
        },
        "DeviceName": {
          "type": "string",
          "description": "The block device mapping for the disk."
        },
        "Format": {
          "type": "string",
          "description": "The format of the disk image being imported. Valid values: OVA | VHD | VHDX | VMDK | RAW"
        },
        "SnapshotId": {
          "type": "string",
          "description": "The ID of the EBS snapshot to be used for importing the snapshot."
        },
        "Url": {
          "type": "string",
          "description": "The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..)"
        },
        "UserBucket": {
          "$ref": "#/$defs/UserBucket"
        }
      }
    },
    "ImportImageLicenseConfigurationRequest": {
      "type": "object",
      "properties": {
        "LicenseConfigurationArn": {
          "type": "string",
          "description": "The ARN of a license configuration."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters."
        }
      }
    },
    "TagSpecification": {
      "type": "object",
      "properties": {
        "ResourceType": {
          "type": "string",
          "enum": [
            "capacity-reservation",
            "client-vpn-endpoint",
            "customer-gateway",
            "carrier-gateway",
            "coip-pool",
            "declarative-policies-report",
            "dedicated-host",
            "dhcp-options",
            "egress-only-internet-gateway",
            "elastic-ip",
            "elastic-gpu",
            "export-image-task",
            "export-instance-task",
            "fleet",
            "fpga-image",
            "host-reservation",
            "image",
            "image-usage-report",
            "import-image-task",
            "import-snapshot-task",
            "instance",
            "instance-event-window",
            "internet-gateway",
            "ipam",
            "ipam-pool",
            "ipam-scope",
            "ipv4pool-ec2",
            "ipv6pool-ec2",
            "key-pair",
            "launch-template",
            "local-gateway",
            "local-gateway-route-table",
            "local-gateway-virtual-interface",
            "local-gateway-virtual-interface-group",
            "local-gateway-route-table-vpc-association",
            "local-gateway-route-table-virtual-interface-group-association",
            "natgateway",
            "network-acl",
            "network-interface",
            "network-insights-analysis",
            "network-insights-path",
            "network-insights-access-scope",
            "network-insights-access-scope-analysis",
            "outpost-lag",
            "placement-group",
            "prefix-list",
            "replace-root-volume-task",
            "reserved-instances",
            "route-table",
            "security-group",
            "security-group-rule",
            "service-link-virtual-interface",
            "snapshot",
            "spot-fleet-request",
            "spot-instances-request",
            "subnet",
            "subnet-cidr-reservation",
            "traffic-mirror-filter",
            "traffic-mirror-session",
            "traffic-mirror-target",
            "transit-gateway",
            "transit-gateway-attachment",
            "transit-gateway-connect-peer",
            "transit-gateway-multicast-domain",
            "transit-gateway-policy-table",
            "transit-gateway-metering-policy",
            "transit-gateway-route-table",
            "transit-gateway-route-table-announcement",
            "volume",
            "vpc",
            "vpc-endpoint",
            "vpc-endpoint-connection",
            "vpc-endpoint-service",
            "vpc-endpoint-service-permission",
            "vpc-peering-connection",
            "vpn-connection",
            "vpn-gateway",
            "vpc-flow-log",
            "capacity-reservation-fleet",
            "traffic-mirror-filter-rule",
            "vpc-endpoint-connection-device-type",
            "verified-access-instance",
            "verified-access-group",
            "verified-access-endpoint",
            "verified-access-policy",
            "verified-access-trust-provider",
            "vpn-connection-device-type",
            "vpc-block-public-access-exclusion",
            "vpc-encryption-control",
            "route-server",
            "route-server-endpoint",
            "route-server-peer",
            "ipam-resource-discovery",
            "ipam-resource-discovery-association",
            "instance-connect-endpoint",
            "verified-access-endpoint-target",
            "ipam-external-resource-verification-token",
            "capacity-block",
            "mac-modification-task",
            "ipam-prefix-list-resolver",
            "ipam-policy",
            "ipam-prefix-list-resolver-target",
            "ipam-internet-registry-association",
            "secondary-interface",
            "secondary-network",
            "secondary-subnet",
            "capacity-manager-data-export",
            "vpn-concentrator",
            "ipam-pool-allocation",
            "capacity-reservation-cancellation-quote",
            "application-status-check",
            "capacity-reservation-modification-quote"
          ],
          "description": "The type of resource to tag on creation."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The tags to apply to the resource."
        }
      }
    },
    "UserBucket": {
      "type": "object",
      "properties": {
        "S3Bucket": {
          "type": "string",
          "description": "The name of the Amazon S3 bucket where the disk image is located."
        },
        "S3Key": {
          "type": "string",
          "description": "The file name of the disk image."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-ec2-import-image-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.