{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudhsm/json-schema/amazon-cloudhsm-modify-hsm-request-schema.json",
  "title": "ModifyHsmRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudhsm-hsm-api-openapi.yml#/components/schemas/ModifyHsmRequest",
  "type": "object",
  "properties": {
    "HsmArn": {
      "type": "string",
      "description": "The ARN of the HSM to modify."
    },
    "SubnetId": {
      "type": "string",
      "description": "The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet."
    },
    "EniIp": {
      "type": "string",
      "description": "The new IP address for the elastic network interface (ENI) attached to the HSM. If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet."
    },
    "IamRoleArn": {
      "type": "string",
      "description": "The new IAM role ARN."
    },
    "ExternalId": {
      "type": "string",
      "description": "The new external ID."
    },
    "SyslogIp": {
      "type": "string",
      "description": "The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server."
    }
  },
  "required": [
    "HsmArn"
  ]
}