Learn R Programming

paws.compute (version 0.7.0)

lambda_publish_layer_version: Creates an Lambda layer from a ZIP archive

Description

Creates an Lambda layer from a ZIP archive. Each time you call publish_layer_version with the same layer name, a new version is created.

See https://www.paws-r-sdk.com/docs/lambda_publish_layer_version/ for full documentation.

Usage

lambda_publish_layer_version(
  LayerName,
  Description = NULL,
  Content,
  CompatibleRuntimes = NULL,
  LicenseInfo = NULL,
  CompatibleArchitectures = NULL
)

Arguments

LayerName

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

Description

The description of the version.

Content

[required] The function layer archive.

CompatibleRuntimes

A list of compatible function runtimes. Used for filtering with list_layers and list_layer_versions.

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

LicenseInfo

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.

CompatibleArchitectures

A list of compatible instruction set architectures.