{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/FunctionCode", "title": "FunctionCode", "type": "object", "properties": { "ZipFile": { "allOf": [ { "$ref": "#/components/schemas/Blob" }, { "description": "The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you." } ] }, "S3Bucket": { "allOf": [ { "$ref": "#/components/schemas/S3Bucket" }, { "description": "An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account." } ] }, "S3Key": { "allOf": [ { "$ref": "#/components/schemas/S3Key" }, { "description": "The Amazon S3 key of the deployment package." } ] }, "S3ObjectVersion": { "allOf": [ { "$ref": "#/components/schemas/S3ObjectVersion" }, { "description": "For versioned objects, the version of the deployment package object to use." } ] }, "ImageUri": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "URI of a container image in the Amazon ECR registry." } ] } }, "description": "The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image." }