Skip to content

Lambda  >  Enums  >  S3ObjectStorageMode

S3ObjectStorageMode

Enum Class

S3ObjectStorageMode

Bases: UnknownEnumMixin, StrEnum

The method Lambda uses to store a function's deployment package --- either by copying the package into Lambda-managed storage (COPY) or by referencing it directly from the source Amazon S3 bucket (REFERENCE).

Attributes

COPY class-attribute instance-attribute
COPY = 'COPY'

The default storage mode. Uploads a copy of your deployment package to Lambda.

REFERENCE class-attribute instance-attribute
REFERENCE = 'REFERENCE'

The reference storage mode. Lambda references the deployment package from the specified Amazon S3 bucket without uploading a copy.