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
 
Container for the parameters to the UpdateFunctionConfiguration operation. Updates the configuration parameters for the specified Lambda function by using the values provided in the request. You provide only the parameters you want to change. This operation must only be used on an existing Lambda function and cannot be used to update the function's code.

If you are using the versioning feature, note this API will always update the $LATEST version of your Lambda function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases.

This operation requires permission for the lambda:UpdateFunctionConfiguration action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Lambda.AmazonLambdaRequest
      Amazon.Lambda.Model.UpdateFunctionConfigurationRequest

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

Syntax

C#
public class UpdateFunctionConfigurationRequest : AmazonLambdaRequest
         IRequestEvents

The UpdateFunctionConfigurationRequest type exposes the following members

Constructors

Properties

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

A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.

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

The name of the Lambda function.

You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

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

The function that Lambda calls to begin executing your function. For Node.js, it is the module-name.export value in your function.

Public Property MemorySize System.Int32 Gets and sets the property MemorySize.

The amount of memory, in MB, your Lambda function is given. AWS 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, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.

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

The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.

Public Property Timeout System.Int32 Gets and sets the property Timeout.

The function execution time at which AWS 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.

Public Property VpcConfig Amazon.Lambda.Model.VpcConfig Gets and sets the property VpcConfig.

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