Amazon Lightsail · Schema

CreateDiskRequest

CloudComputeVirtual Private ServerHostingContainersDatabaseStorageCDNNetworkingInfrastructureDevOpsAmazon Web Services

Properties

Name Type Description
diskName string The unique Lightsail disk name (my-disk).
availabilityZone string The Availability Zone where you want to create the disk (us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk. Use the get regions operation to li
sizeInGb integer The size of the disk in GB (32).
tags array The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.
addOns array An array of objects that represent the add-ons to enable for the new disk.
View JSON Schema on GitHub

JSON Schema

amazon-lightsail-create-disk-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-lightsail/json-schema/amazon-lightsail-create-disk-request-schema.json",
  "title": "CreateDiskRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-lightsail-blockstorage-api-openapi.yml#/components/schemas/CreateDiskRequest",
  "type": "object",
  "properties": {
    "diskName": {
      "type": "string",
      "description": "The unique Lightsail disk name (my-disk)."
    },
    "availabilityZone": {
      "type": "string",
      "description": "The Availability Zone where you want to create the disk (us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk. Use the get regions operation to list the Availability Zones where Lightsail is currently available."
    },
    "sizeInGb": {
      "type": "integer",
      "description": "The size of the disk in GB (32)."
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created."
    },
    "addOns": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AddOnRequest"
      },
      "description": "An array of objects that represent the add-ons to enable for the new disk."
    }
  },
  "required": [
    "diskName",
    "availabilityZone",
    "sizeInGb"
  ],
  "$defs": {
    "AddOnRequest": {
      "type": "object",
      "properties": {
        "addOnType": {
          "type": "string",
          "enum": [
            "AutoSnapshot",
            "StopInstanceOnIdle"
          ],
          "description": "The add-on type."
        },
        "autoSnapshotAddOnRequest": {
          "$ref": "#/$defs/AutoSnapshotAddOnRequest"
        },
        "stopInstanceOnIdleRequest": {
          "$ref": "#/$defs/StopInstanceOnIdleRequest"
        }
      },
      "required": [
        "addOnType"
      ]
    },
    "AutoSnapshotAddOnRequest": {
      "type": "object",
      "properties": {
        "snapshotTimeOfDay": {
          "type": "string",
          "description": "The daily time when an automatic snapshot will be created. Constraints: Must be in HH:00 format, and in an hourly increment. Specified in Coordinated Universal Time (UTC). The snapshot will be automatically created between the time specified and up to 45 minutes after."
        }
      }
    },
    "StopInstanceOnIdleRequest": {
      "type": "object",
      "properties": {
        "threshold": {
          "type": "string",
          "description": "The value to compare with the duration."
        },
        "duration": {
          "type": "string",
          "description": "The amount of idle time in minutes after which your virtual computer will automatically stop."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The key of the tag. Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @"
        },
        "value": {
          "type": "string",
          "description": "The value of the tag. Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @"
        }
      }
    }
  }
}

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-lightsail-create-disk-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.