AWS Lambda · Schema

PublishLayerVersionRequest

Request body for publishing a layer version

Properties

Name Type Description
Description string Description of the layer version
Content object The function layer archive
CompatibleRuntimes array A list of compatible runtimes. Used for filtering with ListLayers and ListLayerVersions.
LicenseInfo string The layer's software license (SPDX identifier, URL, or text)
CompatibleArchitectures array A list of compatible instruction set architectures
View JSON Schema on GitHub

JSON Schema

aws-lambda-publish-layer-version-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PublishLayerVersionRequest",
  "type": "object",
  "description": "Request body for publishing a layer version",
  "properties": {
    "Description": {
      "type": "string",
      "description": "Description of the layer version"
    },
    "Content": {
      "type": "object",
      "description": "The function layer archive"
    },
    "CompatibleRuntimes": {
      "type": "array",
      "description": "A list of compatible runtimes. Used for filtering with ListLayers and ListLayerVersions."
    },
    "LicenseInfo": {
      "type": "string",
      "description": "The layer's software license (SPDX identifier, URL, or text)"
    },
    "CompatibleArchitectures": {
      "type": "array",
      "description": "A list of compatible instruction set architectures"
    }
  }
}