class Amazonite::Lambda::LayerVersionContentInput

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

Defined in:

lambda/layer_version_content_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.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) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def s3_bucket : String | Nil #

The Amazon S3 bucket of the layer archive.


[View source]
def s3_bucket=(s3_bucket : String | Nil) #

The Amazon S3 bucket of the layer archive.


[View source]
def s3_key : String | Nil #

The Amazon S3 key of the layer archive.


[View source]
def s3_key=(s3_key : String | Nil) #

The Amazon S3 key of the layer archive.


[View source]
def s3_object_storage_mode : S3ObjectStorageMode | Nil #

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.


[View source]
def s3_object_storage_mode=(s3_object_storage_mode : S3ObjectStorageMode | Nil) #

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.


[View source]
def s3_object_version : String | Nil #

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


[View source]
def s3_object_version=(s3_object_version : String | Nil) #

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


[View source]
def validate! : Nil #

[View source]
def zip_file : Bytes | Nil #

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


[View source]
def zip_file=(zip_file : Bytes | Nil) #

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


[View source]