class Aws::Lambda::Types::PublishLayerVersionRequest

@note When making an API call, you may pass PublishLayerVersionRequest

data as a 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, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
      license_info: "LicenseInfo",
    }

@!attribute [rw] layer_name

The name or Amazon Resource Name (ARN) of the layer.
@return [String]

@!attribute [rw] description

The description of the version.
@return [String]

@!attribute [rw] content

The function layer archive.
@return [Types::LayerVersionContentInput]

@!attribute [rw] compatible_runtimes

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

[1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
@return [Array<String>]

@!attribute [rw] license_info

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

* An [SPDX license identifier][1]. 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.

[1]: https://spdx.org/licenses/
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersionRequest AWS API Documentation

Constants

SENSITIVE