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 configuration of the Lambda function.

Inheritance Hierarchy

System.Object
  Amazon.Greengrass.Model.FunctionConfiguration

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

Syntax

C#
public class FunctionConfiguration

The FunctionConfiguration type exposes the following members

Constructors

NameDescription
Public Method FunctionConfiguration()

Properties

NameTypeDescription
Public Property EncodingType Amazon.Greengrass.EncodingType

Gets and sets the property EncodingType. The expected encoding type of the input payload for the function. The default is ''json''.

Public Property Environment Amazon.Greengrass.Model.FunctionConfigurationEnvironment

Gets and sets the property Environment. The environment configuration of the function.

Public Property ExecArgs System.String

Gets and sets the property ExecArgs. The execution arguments.

Public Property Executable System.String

Gets and sets the property Executable. The name of the function executable.

Public Property FunctionRuntimeOverride System.String

Gets and sets the property FunctionRuntimeOverride. The Lambda runtime supported by Greengrass which is to be used instead of the one specified in the Lambda function.

Public Property MemorySize System.Int32

Gets and sets the property MemorySize. The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization.

Public Property Pinned System.Boolean

Gets and sets the property Pinned. True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.

Public Property Timeout System.Int32

Gets and sets the property Timeout. The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.

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