AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.Lambda.Model.FunctionCode

Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.Lambda.dll
Version: 3.x.y.z

Syntax

C#
public class FunctionCode

The FunctionCode type exposes the following members

Constructors

NameDescription
Public Method FunctionCode()

Properties

NameTypeDescription
Public Property ImageUri System.String

Gets and sets the property ImageUri.

URI of a container image in the Amazon ECR registry.

Public Property S3Bucket System.String

Gets and sets the property S3Bucket.

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.

Public Property S3Key System.String

Gets and sets the property S3Key.

The Amazon S3 key of the deployment package.

Public Property S3ObjectVersion System.String

Gets and sets the property S3ObjectVersion.

For versioned objects, the version of the deployment package object to use.

Public Property ZipFile System.IO.MemoryStream

Gets and sets the property ZipFile.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5