Skip to content

LayerVersionContentInput

Source code in docs_src/capo_lambda/types/layer_version_content_input.py
class LayerVersionContentInput(TypedDict, closed=True):
    s3_bucket: NotRequired["capo_lambda.types.s3_bucket.S3Bucket"]
    """<p>The Amazon S3 bucket of the layer archive.</p>"""
    s3_key: NotRequired["capo_lambda.types.s3_key.S3Key"]
    """<p>The Amazon S3 key of the layer archive.</p>"""
    s3_object_version: NotRequired[
        "capo_lambda.types.s3_object_version.S3ObjectVersion"
    ]
    """<p>For versioned objects, the version of the layer archive object to use.</p>"""
    s3_object_storage_mode: NotRequired[
        "capo_lambda.types.s3_object_storage_mode.S3ObjectStorageMode"
    ]
    """<p>Specifies how the layer archive is stored. Valid values:</p> <ul> <li> <p> <code>COPY</code> (default) – Uploads a copy of your layer archive to Lambda.</p> </li> <li> <p> <code>REFERENCE</code> – Lambda references the layer archive from the specified Amazon S3 bucket.</p> </li> </ul>"""
    zip_file: NotRequired["capo_lambda.types.blob.Blob"]
    """<p>The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.</p>"""

s3_bucket instance-attribute

s3_bucket: NotRequired[S3Bucket]

The Amazon S3 bucket of the layer archive.

s3_key instance-attribute

s3_key: NotRequired[S3Key]

The Amazon S3 key of the layer archive.

s3_object_storage_mode instance-attribute

s3_object_storage_mode: NotRequired[S3ObjectStorageMode]

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.

s3_object_version instance-attribute

s3_object_version: NotRequired[S3ObjectVersion]

For versioned objects, the version of the layer archive object to use.

zip_file instance-attribute

zip_file: NotRequired[Blob]

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