class Aws::Lambda::Types::FunctionCode

The code for the Lambda function. You can specify either an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.

@note When making an API call, you may pass FunctionCode

data as a hash:

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

@!attribute [rw] zip_file

The base64-encoded contents of the deployment package. Amazon Web
Services SDK and Amazon Web Services CLI clients handle the encoding
for you.
@return [String]

@!attribute [rw] s3_bucket

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.
@return [String]

@!attribute [rw] s3_key

The Amazon S3 key of the deployment package.
@return [String]

@!attribute [rw] s3_object_version

For versioned objects, the version of the deployment package object
to use.
@return [String]

@!attribute [rw] image_uri

URI of a [container image][1] in the Amazon ECR registry.

[1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode AWS API Documentation

Constants

SENSITIVE