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.
Namespace: Amazon.Greengrass.Model
Assembly: AWSSDK.Greengrass.dll
Version: 3.x.y.z
public class FunctionConfiguration
The FunctionConfiguration type exposes the following members
Name | Description | |
---|---|---|
FunctionConfiguration() |
Name | Type | Description | |
---|---|---|---|
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''. |
|
Environment | Amazon.Greengrass.Model.FunctionConfigurationEnvironment |
Gets and sets the property Environment. The environment configuration of the function. |
|
ExecArgs | System.String |
Gets and sets the property ExecArgs. The execution arguments. |
|
Executable | System.String |
Gets and sets the property Executable. The name of the function executable. |
|
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. |
|
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. |
|
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. |
|
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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5