FunctionConfigurationEnvironment class

The environment configuration of the function.

Constructors

FunctionConfigurationEnvironment({bool? accessSysfs, FunctionExecutionConfig? execution, List<ResourceAccessPolicy>? resourceAccessPolicies, Map<String, String>? variables})
FunctionConfigurationEnvironment.fromJson(Map<String, dynamic> json)
factory

Properties

accessSysfs bool?
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.
final
execution FunctionExecutionConfig?
Configuration related to executing the Lambda function
final
hashCode int
The hash code for this object.
no setterinherited
resourceAccessPolicies List<ResourceAccessPolicy>?
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variables Map<String, String>?
Environment variables for the Lambda function's configuration.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited