You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lambda::Types::PublishLayerVersionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PublishLayerVersionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  layer_name: "LayerName", # required
  description: "Description",
  content: { # required
    s3_bucket: "S3Bucket",
    s3_key: "S3Key",
    s3_object_version: "S3ObjectVersion",
    zip_file: "data",
  },
  compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
  license_info: "LicenseInfo",
}

Instance Attribute Summary collapse

Instance Attribute Details

#compatible_runtimesArray<String>

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

Returns:

  • (Array<String>)

    A list of compatible [function runtimes][1].

#contentTypes::LayerVersionContentInput

The function layer archive.

Returns:

#descriptionString

The description of the version.

Returns:

  • (String)

    The description of the version.

#layer_nameString

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

Returns:

  • (String)

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

#license_infoString

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.

Returns:

  • (String)

    The layer\'s software license.