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 environment configuration of the function.
Namespace: Amazon.Greengrass.Model
Assembly: AWSSDK.Greengrass.dll
Version: 3.x.y.z
public class FunctionConfigurationEnvironment
The FunctionConfigurationEnvironment type exposes the following members
Name | Description | |
---|---|---|
FunctionConfigurationEnvironment() |
Name | Type | Description | |
---|---|---|---|
AccessSysfs | System.Boolean |
Gets and sets the property AccessSysfs. If true, the Lambda function is allowed to access the host's /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container. |
|
Execution | Amazon.Greengrass.Model.FunctionExecutionConfig |
Gets and sets the property Execution. Configuration related to executing the Lambda function |
|
ResourceAccessPolicies | System.Collections.Generic.List<Amazon.Greengrass.Model.ResourceAccessPolicy> |
Gets and sets the property ResourceAccessPolicies. A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container. |
|
Variables | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Variables. Environment variables for the Lambda function's configuration. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5