Amazon Signer · JSON Structure

Amazon Signer Sign Payload Request Structure

SignPayloadRequest schema from AWS Signer API

Type: object Properties: 4 Required: 3
Code SigningIoTLambdaSecurity

SignPayloadRequest is a JSON Structure definition published by Amazon Signer, describing 4 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

profileName profileOwner payload payloadFormat

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-signer/refs/heads/main/json-structure/amazon-signer-sign-payload-request-structure.json",
  "name": "SignPayloadRequest",
  "description": "SignPayloadRequest schema from AWS Signer API",
  "properties": {
    "profileName": {
      "allOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_]{2,}",
          "minLength": 2,
          "maxLength": 64
        },
        {
          "description": "The name of the signing profile."
        }
      ]
    },
    "profileOwner": {
      "allOf": [
        {
          "type": "string",
          "pattern": "^[0-9]{12}$",
          "minLength": 12,
          "maxLength": 12
        },
        {
          "description": "The AWS account ID of the profile owner."
        }
      ]
    },
    "payload": {
      "allOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 4096
        },
        {
          "description": "Specifies the object digest (hash) to sign."
        }
      ]
    },
    "payloadFormat": {
      "allOf": [
        {
          "type": "string"
        },
        {
          "description": "Payload content type"
        }
      ]
    }
  },
  "required": [
    "profileName",
    "payload",
    "payloadFormat"
  ]
}