Class: Aws::Lambda::Types::PublishLayerVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::PublishLayerVersionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lambda/types.rb
Overview
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, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
license_info: "LicenseInfo",
compatible_architectures: ["x86_64"], # accepts x86_64, arm64
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#compatible_architectures ⇒ Array<String>
A list of compatible [instruction set architectures].
-
#compatible_runtimes ⇒ Array<String>
A list of compatible [function runtimes].
-
#content ⇒ Types::LayerVersionContentInput
The function layer archive.
-
#description ⇒ String
The description of the version.
-
#layer_name ⇒ String
The name or Amazon Resource Name (ARN) of the layer.
-
#license_info ⇒ String
The layer’s software license.
Instance Attribute Details
#compatible_architectures ⇒ Array<String>
A list of compatible [instruction set architectures].
[1]: docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 |
# File 'lib/aws-sdk-lambda/types.rb', line 4400 class PublishLayerVersionRequest < Struct.new( :layer_name, :description, :content, :compatible_runtimes, :license_info, :compatible_architectures) SENSITIVE = [] include Aws::Structure end |
#compatible_runtimes ⇒ Array<String>
A list of compatible [function runtimes]. Used for filtering with ListLayers and ListLayerVersions.
[1]: docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 |
# File 'lib/aws-sdk-lambda/types.rb', line 4400 class PublishLayerVersionRequest < Struct.new( :layer_name, :description, :content, :compatible_runtimes, :license_info, :compatible_architectures) SENSITIVE = [] include Aws::Structure end |
#content ⇒ Types::LayerVersionContentInput
The function layer archive.
4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 |
# File 'lib/aws-sdk-lambda/types.rb', line 4400 class PublishLayerVersionRequest < Struct.new( :layer_name, :description, :content, :compatible_runtimes, :license_info, :compatible_architectures) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description of the version.
4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 |
# File 'lib/aws-sdk-lambda/types.rb', line 4400 class PublishLayerVersionRequest < Struct.new( :layer_name, :description, :content, :compatible_runtimes, :license_info, :compatible_architectures) SENSITIVE = [] include Aws::Structure end |
#layer_name ⇒ String
The name or Amazon Resource Name (ARN) of the layer.
4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 |
# File 'lib/aws-sdk-lambda/types.rb', line 4400 class PublishLayerVersionRequest < Struct.new( :layer_name, :description, :content, :compatible_runtimes, :license_info, :compatible_architectures) SENSITIVE = [] include Aws::Structure end |
#license_info ⇒ String
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, ‘opensource.org/licenses/MIT`.
-
The full text of the license.
[1]: spdx.org/licenses/
4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 |
# File 'lib/aws-sdk-lambda/types.rb', line 4400 class PublishLayerVersionRequest < Struct.new( :layer_name, :description, :content, :compatible_runtimes, :license_info, :compatible_architectures) SENSITIVE = [] include Aws::Structure end |