{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-create-hsm-configuration-message-schema.json",
  "title": "CreateHsmConfigurationMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-hsm-configuration-api-openapi.yml#/components/schemas/CreateHsmConfigurationMessage",
  "type": "object",
  "properties": {
    "HsmConfigurationIdentifier": {
      "type": "string",
      "description": "The identifier to be assigned to the new Amazon Redshift HSM configuration."
    },
    "Description": {
      "type": "string",
      "description": "A text description of the HSM configuration to be created."
    },
    "HsmIpAddress": {
      "type": "string",
      "description": "The IP address that the Amazon Redshift cluster must use to access the HSM."
    },
    "HsmPartitionName": {
      "type": "string",
      "description": "The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys."
    },
    "HsmPartitionPassword": {
      "type": "string",
      "description": "The password required to access the HSM partition."
    },
    "HsmServerPublicCertificate": {
      "type": "string",
      "description": "The HSMs public certificate file. When using Cloud HSM, the file name is server.pem."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tag instances."
    }
  },
  "required": [
    "HsmConfigurationIdentifier",
    "Description",
    "HsmIpAddress",
    "HsmPartitionName",
    "HsmPartitionPassword",
    "HsmServerPublicCertificate"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key, or name, for the resource tag."
        },
        "Value": {
          "type": "string",
          "description": "The value for the resource tag."
        }
      }
    }
  }
}