CmdID

CmdID / aws / aws lambda

aws lambda update-function-code

Updates a Lambda Event Function's code. AWS CLI reference

13 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

13 in the AWS CLI reference
--architecturesThe instruction set architecture that the function supports.
--dry-runSet to true to validate the request parameters and access permissions without modifying the function code.
--function-nameThe name or ARN of the Lambda function.
--image-uriURI of a container image in the Amazon ECR registry.
--publish-toSpecifies where to publish the function version or configuration.
--publishSet to true to publish a new version of the function after updating the code.
--revision-idUpdate the function only if the revision ID matches the ID that's specified.
--s3-bucketAn Amazon S3 bucket in the same Amazon Web Services Region as your function.
--s3-keyThe Amazon S3 key of the deployment package.
--s3-object-storage-modeSpecifies how the deployment package is stored.
--s3-object-versionFor versioned objects, the version of the deployment package object to use.
--source-kms-key-arnThe ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package.
--zip-fileThe base64-encoded contents of the deployment package.