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.
This operation requires permission for the
lambda:UploadFunctionaction.
Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.dll
Version: 0.0.3.0
public class UploadFunctionRequest : AmazonLambdaRequest IRequestEvents
The UploadFunctionRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
UploadFunctionRequest() |
| Name | Description | |
|---|---|---|
|
Description |
Gets and sets the property Description.
A short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit. |
|
FunctionName |
Gets and sets the property FunctionName.
The name you want to assign to the function you are uploading. The function names appear in the console and are returned in the ListFunctions API. Function names are used to specify functions to other AWS Lambda APIs, such as InvokeAsync. |
|
FunctionZip |
Gets and sets the property FunctionZip.
A .zip file containing your packaged source code. For more information about creating a .zip file, go to AWS LambdaL How it Works in the AWS Lambda Developer Guide. |
|
Handler |
Gets and sets the property Handler.
The function that Lambda calls to begin execution. For Node.js, it is the module-name.export value in your function. |
|
MemorySize |
Gets and sets the property MemorySize.
The amount of memory, in MB, your Lambda function is given. Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, database operation might need less memory compared to image processing function. The default value is 128 MB. The value must be a multiple of 64 MB. |
|
Mode |
Gets and sets the property Mode.
How the Lambda function will be invoked. Lambda supports only the "event" mode. |
|
Role |
Gets and sets the property Role.
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. |
|
Runtime |
Gets and sets the property Runtime.
The runtime environment for the Lambda function you are uploading. Currently, Lambda supports only "nodejs" as the runtime. |
|
Timeout |
Gets and sets the property Timeout.
The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds. |
.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