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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#compatible_architectures ⇒ Array<String>

A list of compatible instruction set architectures.

Returns:

  • (Array<String>)


7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 7898

class PublishLayerVersionRequest < Struct.new(
  :layer_name,
  :description,
  :content,
  :compatible_architectures,
  :compatible_runtimes,
  :license_info)
  SENSITIVE = []
  include Aws::Structure
end

#compatible_runtimes ⇒ Array<String>

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.

Returns:

  • (Array<String>)


7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 7898

class PublishLayerVersionRequest < Struct.new(
  :layer_name,
  :description,
  :content,
  :compatible_architectures,
  :compatible_runtimes,
  :license_info)
  SENSITIVE = []
  include Aws::Structure
end

#content ⇒ Types::LayerVersionContentInput

The function layer archive.



7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 7898

class PublishLayerVersionRequest < Struct.new(
  :layer_name,
  :description,
  :content,
  :compatible_architectures,
  :compatible_runtimes,
  :license_info)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The description of the version.

Returns:

  • (String)


7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 7898

class PublishLayerVersionRequest < Struct.new(
  :layer_name,
  :description,
  :content,
  :compatible_architectures,
  :compatible_runtimes,
  :license_info)
  SENSITIVE = []
  include Aws::Structure
end

#layer_name ⇒ String

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

Returns:

  • (String)


7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 7898

class PublishLayerVersionRequest < Struct.new(
  :layer_name,
  :description,
  :content,
  :compatible_architectures,
  :compatible_runtimes,
  :license_info)
  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, https://opensource.org/licenses/MIT.

  • The full text of the license.

Returns:

  • (String)


7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 7898

class PublishLayerVersionRequest < Struct.new(
  :layer_name,
  :description,
  :content,
  :compatible_architectures,
  :compatible_runtimes,
  :license_info)
  SENSITIVE = []
  include Aws::Structure
end