Skip to content

FunctionCodeDict

Dictionary Type

FunctionCodeDict

Bases: TypedDict

Dictionary form of FunctionCode.

Attributes

image_uri instance-attribute
image_uri: str | None

URI of a container image in the Amazon ECR registry.

s3_bucket instance-attribute
s3_bucket: str | None

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.

s3_key instance-attribute
s3_key: str | None

The Amazon S3 key of the deployment package.

s3_object_storage_mode instance-attribute
s3_object_storage_mode: str | None

Specifies how the deployment package is stored. Valid values:

  • COPY (default) -- Uploads a copy of your deployment package to Lambda.

  • REFERENCE -- Lambda references the deployment package from the specified Amazon S3 bucket.

s3_object_version instance-attribute
s3_object_version: str | None

For versioned objects, the version of the deployment package object to use.

source_kms_key_arn instance-attribute
source_kms_key_arn: str | None

The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.

zip_file instance-attribute
zip_file: bytes | None

The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.