Class: Aws::Lambda::Types::LayerVersionContentInput

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

Overview

A ZIP archive that contains the contents of an [Lambda layer]. You can specify either an Amazon S3 location, or upload a layer archive directly.

[1]: docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html

Constant Summary collapse

SENSITIVE =
[:zip_file]

Instance Attribute Summary collapse

Instance Attribute Details

#s3_bucketString

The Amazon S3 bucket of the layer archive.

Returns:

  • (String)


4061
4062
4063
4064
4065
4066
4067
4068
# File 'lib/aws-sdk-lambda/types.rb', line 4061

class LayerVersionContentInput < Struct.new(
  :s3_bucket,
  :s3_key,
  :s3_object_version,
  :zip_file)
  SENSITIVE = [:zip_file]
  include Aws::Structure
end

#s3_keyString

The Amazon S3 key of the layer archive.

Returns:

  • (String)


4061
4062
4063
4064
4065
4066
4067
4068
# File 'lib/aws-sdk-lambda/types.rb', line 4061

class LayerVersionContentInput < Struct.new(
  :s3_bucket,
  :s3_key,
  :s3_object_version,
  :zip_file)
  SENSITIVE = [:zip_file]
  include Aws::Structure
end

#s3_object_versionString

For versioned objects, the version of the layer archive object to use.

Returns:

  • (String)


4061
4062
4063
4064
4065
4066
4067
4068
# File 'lib/aws-sdk-lambda/types.rb', line 4061

class LayerVersionContentInput < Struct.new(
  :s3_bucket,
  :s3_key,
  :s3_object_version,
  :zip_file)
  SENSITIVE = [:zip_file]
  include Aws::Structure
end

#zip_fileString

The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.

Returns:

  • (String)


4061
4062
4063
4064
4065
4066
4067
4068
# File 'lib/aws-sdk-lambda/types.rb', line 4061

class LayerVersionContentInput < Struct.new(
  :s3_bucket,
  :s3_key,
  :s3_object_version,
  :zip_file)
  SENSITIVE = [:zip_file]
  include Aws::Structure
end