class Amazonite::Lambda::PublishLayerVersionRequest

Included Modules

Defined in:

lambda/publish_layer_version_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(layer_name : String, content : LayerVersionContentInput, description : String | Nil = nil, compatible_architectures : Array(Architecture) | Nil = nil, compatible_runtimes : Array(Runtime) | Nil = nil, license_info : String | Nil = nil) #

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

[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 compatible_architectures : Array(Architecture) | Nil #

A list of compatible instruction set architectures.


[View source]
def compatible_architectures=(compatible_architectures : Array(Architecture) | Nil) #

A list of compatible instruction set architectures.


[View source]
def compatible_runtimes : Array(Runtime) | Nil #

A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.


[View source]
def compatible_runtimes=(compatible_runtimes : Array(Runtime) | Nil) #

A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.


[View source]
def content : LayerVersionContentInput #

The function layer archive.


[View source]
def content=(content : LayerVersionContentInput) #

The function layer archive.


[View source]
def description : String | Nil #

The description of the version.


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

The description of the version.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def layer_name : String #

The name or Amazon Resource Name (ARN) of the layer.


[View source]
def layer_name=(layer_name : String) #

The name or Amazon Resource Name (ARN) of the layer.


[View source]
def license_info : String | Nil #

The layer's software license. It can be any of the following:

  • An SPDX license identifier. For example, MIT.

  • The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT.

  • The full text of the license.


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

The layer's software license. It can be any of the following:

  • An SPDX license identifier. For example, MIT.

  • The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT.

  • The full text of the license.


[View source]
def validate! : Nil #

[View source]