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

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

Overview

Note:

When making an API call, you may pass LayerVersionContentInput data as a hash:

{
  s3_bucket: "S3Bucket",
  s3_key: "S3Key",
  s3_object_version: "S3ObjectVersion",
  zip_file: "data",
}

A ZIP archive that contains the contents of an [AWS 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

Instance Attribute Summary collapse

Instance Attribute Details

#s3_bucketString

The Amazon S3 bucket of the layer archive.

Returns:

  • (String)


1710
1711
1712
1713
1714
1715
1716
# File 'lib/aws-sdk-lambda/types.rb', line 1710

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

#s3_keyString

The Amazon S3 key of the layer archive.

Returns:

  • (String)


1710
1711
1712
1713
1714
1715
1716
# File 'lib/aws-sdk-lambda/types.rb', line 1710

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

#s3_object_versionString

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

Returns:

  • (String)


1710
1711
1712
1713
1714
1715
1716
# File 'lib/aws-sdk-lambda/types.rb', line 1710

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

#zip_fileString

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

Returns:

  • (String)


1710
1711
1712
1713
1714
1715
1716
# File 'lib/aws-sdk-lambda/types.rb', line 1710

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