Class: Aws::Lambda::Types::FunctionCode
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::FunctionCode
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lambda/types.rb
Overview
The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.
Constant Summary collapse
- SENSITIVE =
[:zip_file]
Instance Attribute Summary collapse
-
#image_uri ⇒ String
URI of a [container image] in the Amazon ECR registry.
-
#s3_bucket ⇒ String
An Amazon S3 bucket in the same Amazon Web Services Region as your function.
-
#s3_key ⇒ String
The Amazon S3 key of the deployment package.
-
#s3_object_version ⇒ String
For versioned objects, the version of the deployment package object to use.
-
#zip_file ⇒ String
The base64-encoded contents of the deployment package.
Instance Attribute Details
#image_uri ⇒ String
URI of a [container image] in the Amazon ECR registry.
[1]: docs.aws.amazon.com/lambda/latest/dg/lambda-images.html
2186 2187 2188 2189 2190 2191 2192 2193 2194 |
# File 'lib/aws-sdk-lambda/types.rb', line 2186 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version, :image_uri) SENSITIVE = [:zip_file] include Aws::Structure end |
#s3_bucket ⇒ String
An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.
2186 2187 2188 2189 2190 2191 2192 2193 2194 |
# File 'lib/aws-sdk-lambda/types.rb', line 2186 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version, :image_uri) SENSITIVE = [:zip_file] include Aws::Structure end |
#s3_key ⇒ String
The Amazon S3 key of the deployment package.
2186 2187 2188 2189 2190 2191 2192 2193 2194 |
# File 'lib/aws-sdk-lambda/types.rb', line 2186 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version, :image_uri) SENSITIVE = [:zip_file] include Aws::Structure end |
#s3_object_version ⇒ String
For versioned objects, the version of the deployment package object to use.
2186 2187 2188 2189 2190 2191 2192 2193 2194 |
# File 'lib/aws-sdk-lambda/types.rb', line 2186 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version, :image_uri) SENSITIVE = [:zip_file] include Aws::Structure end |
#zip_file ⇒ String
The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.
2186 2187 2188 2189 2190 2191 2192 2193 2194 |
# File 'lib/aws-sdk-lambda/types.rb', line 2186 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version, :image_uri) SENSITIVE = [:zip_file] include Aws::Structure end |