Properties
| Name | Type | Description |
|---|---|---|
| Description | object | |
| Content | object | |
| CompatibleRuntimes | object | |
| LicenseInfo | object | |
| CompatibleArchitectures | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PublishLayerVersionRequest",
"title": "PublishLayerVersionRequest",
"type": "object",
"required": [
"Content"
],
"properties": {
"Description": {
"allOf": [
{
"$ref": "#/components/schemas/Description"
},
{
"description": "The description of the version."
}
]
},
"Content": {
"allOf": [
{
"$ref": "#/components/schemas/LayerVersionContentInput"
},
{
"description": "The function layer archive."
}
]
},
"CompatibleRuntimes": {
"allOf": [
{
"$ref": "#/components/schemas/CompatibleRuntimes"
},
{
"description": "A list of compatible <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html\">function runtimes</a>. Used for filtering with <a>ListLayers</a> and <a>ListLayerVersions</a>."
}
]
},
"LicenseInfo": {
"allOf": [
{
"$ref": "#/components/schemas/LicenseInfo"
},
{
"description": "<p>The layer's software license. It can be any of the following:</p> <ul> <li> <p>An <a href=\"https://spdx.org/licenses/\">SPDX license identifier</a>. For example, <code>MIT</code>.</p> </li> <li> <p>The URL of a license hosted on the internet. For example, <code>https://opensource.org/licenses/MIT</code>.</p> </li> <li> <p>The full text of the license.</p> </li> </ul>"
}
]
},
"CompatibleArchitectures": {
"allOf": [
{
"$ref": "#/components/schemas/CompatibleArchitectures"
},
{
"description": "A list of compatible <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html\">instruction set architectures</a>."
}
]
}
}
}