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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/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.

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)


3178
3179
3180
3181
3182
3183
3184
3185
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 3178

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)


3178
3179
3180
3181
3182
3183
3184
3185
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 3178

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)


3178
3179
3180
3181
3182
3183
3184
3185
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 3178

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. AWS SDK and AWS CLI clients handle the encoding for you.

Returns:

  • (String)


3178
3179
3180
3181
3182
3183
3184
3185
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 3178

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