class
Amazonite::Lambda::LayerVersionContentInput
- Amazonite::Lambda::LayerVersionContentInput
- Reference
- Object
Overview
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.
Included Modules
- JSON::Serializable
Defined in:
lambda/layer_version_content_input.crConstructors
- .new(pull : JSON::PullParser)
- .new(s3_bucket : String | Nil = nil, s3_key : String | Nil = nil, s3_object_version : String | Nil = nil, s3_object_storage_mode : S3ObjectStorageMode | Nil = nil, zip_file : Bytes | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#s3_bucket : String | Nil
The Amazon S3 bucket of the layer archive.
-
#s3_bucket=(s3_bucket : String | Nil)
The Amazon S3 bucket of the layer archive.
-
#s3_key : String | Nil
The Amazon S3 key of the layer archive.
-
#s3_key=(s3_key : String | Nil)
The Amazon S3 key of the layer archive.
-
#s3_object_storage_mode : S3ObjectStorageMode | Nil
Specifies how the layer archive is stored.
-
#s3_object_storage_mode=(s3_object_storage_mode : S3ObjectStorageMode | Nil)
Specifies how the layer archive is stored.
-
#s3_object_version : String | Nil
For versioned objects, the version of the layer archive object to use.
-
#s3_object_version=(s3_object_version : String | Nil)
For versioned objects, the version of the layer archive object to use.
- #validate! : Nil
-
#zip_file : Bytes | Nil
The base64-encoded contents of the layer archive.
-
#zip_file=(zip_file : Bytes | Nil)
The base64-encoded contents of the layer archive.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
For versioned objects, the version of the layer archive object to use.
For versioned objects, the version of the layer archive object to use.
The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.