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

Inheritance Hierarchy

System.Object
  Amazon.Greengrass.Model.FunctionConfigurationEnvironment

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

Syntax

C#
public class FunctionConfigurationEnvironment

The FunctionConfigurationEnvironment type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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.

Public Property Execution Amazon.Greengrass.Model.FunctionExecutionConfig

Gets and sets the property Execution. Configuration related to executing the Lambda function

Public Property 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.

Public Property Variables System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Variables. Environment variables for the Lambda function's configuration.

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