LayerVersionContentInput¶
Structure Class¶
LayerVersionContentInput
dataclass
¶
A ZIP archive that contains the contents of an Lambda layer. You can specify either an Amazon S3 location, or upload a layer archive directly.
Attributes¶
s3_bucket
class-attribute
instance-attribute
¶
s3_bucket: str | None = None
The Amazon S3 bucket of the layer archive.
s3_key
class-attribute
instance-attribute
¶
s3_key: str | None = None
The Amazon S3 key of the layer archive.
s3_object_storage_mode
class-attribute
instance-attribute
¶
s3_object_storage_mode: S3ObjectStorageMode | None = None
Specifies how the layer archive is stored. Valid values:
-
COPY(default) -- Uploads a copy of your layer archive to Lambda. -
REFERENCE-- Lambda references the layer archive from the specified Amazon S3 bucket.