{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-application-migration-service/json-schema/amazon-application-migration-service-source-server-action-document-schema.json",
  "title": "SourceServerActionDocument",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-application-migration-service-operations-api-openapi.yml#/components/schemas/SourceServerActionDocument",
  "type": "object",
  "properties": {
    "actionID": {
      "type": "string",
      "description": "Source server post migration custom action ID."
    },
    "actionName": {
      "type": "string",
      "description": "Source server post migration custom action name."
    },
    "documentIdentifier": {
      "type": "string",
      "description": "Source server post migration custom action document identifier."
    },
    "order": {
      "type": "integer",
      "description": "Source server post migration custom action order."
    },
    "documentVersion": {
      "type": "string",
      "description": "Source server post migration custom action document version."
    },
    "active": {
      "type": "boolean",
      "description": "Source server post migration custom action active status."
    },
    "timeoutSeconds": {
      "type": "integer",
      "description": "Source server post migration custom action timeout in seconds."
    },
    "mustSucceedForCutover": {
      "type": "boolean",
      "description": "Source server post migration custom action must succeed for cutover."
    },
    "parameters": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "$ref": "#/$defs/SsmParameterStoreParameter"
        }
      },
      "description": "Source server post migration custom action parameters."
    },
    "externalParameters": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/SsmExternalParameter"
      },
      "description": "Source server post migration custom action external parameters."
    },
    "description": {
      "type": "string",
      "description": "Source server post migration custom action description."
    },
    "category": {
      "type": "string",
      "description": "Source server post migration custom action category."
    }
  },
  "$defs": {
    "SsmExternalParameter": {
      "type": "object",
      "properties": {
        "dynamicPath": {
          "type": "string",
          "description": "AWS Systems Manager Document external parameters dynamic path."
        }
      },
      "description": "Exactly one member is set."
    },
    "SsmParameterStoreParameter": {
      "type": "object",
      "properties": {
        "parameterType": {
          "type": "string",
          "description": "AWS Systems Manager Parameter Store parameter type."
        },
        "parameterName": {
          "type": "string",
          "description": "AWS Systems Manager Parameter Store parameter name."
        }
      },
      "required": [
        "parameterType",
        "parameterName"
      ]
    }
  }
}