AWS SDK Version 2 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.

.NET Framework 3.5
 
The code for the Lambda function.

Inheritance Hierarchy

System.Object
  Amazon.Lambda.Model.FunctionCode

Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class FunctionCode : Object

The FunctionCode type exposes the following members

Constructors

NameDescription
Public Method FunctionCode()

Properties

NameTypeDescription
Public Property S3Bucket System.String Gets and sets the property S3Bucket.

Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS region where you are creating the Lambda function.

Public Property S3Key System.String Gets and sets the property S3Key.

The Amazon S3 object (the deployment package) key name you want to upload.

Public Property S3ObjectVersion System.String Gets and sets the property S3ObjectVersion.

The Amazon S3 object (the deployment package) version you want to upload.

Public Property ZipFile System.IO.MemoryStream Gets and sets the property ZipFile.

A zip file containing your deployment package. If you are using the API directly, the zip file must be base64-encoded (if you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you). For more information about creating a .zip file, go to Execution Permissions in the AWS Lambda Developer Guide.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8