AWS Lambda · Schema

UpdateFunctionCodeRequest

Request body for updating a function's code

Properties

Name Type Description
ZipFile string Base64-encoded contents of the deployment package. AWS SDK and CLI clients handle encoding automatically.
S3Bucket string An S3 bucket in the same AWS Region as the function
S3Key string The S3 key of the deployment package
S3ObjectVersion string For versioned S3 objects, the version of the deployment package
ImageUri string URI of a container image in Amazon ECR
Publish boolean Set to true to publish a new version of the function after updating the code
DryRun boolean Set to true to validate the request without updating the code
RevisionId string Update only if the revision ID matches
Architectures array
View JSON Schema on GitHub