NAME

Paws::Greengrass::FunctionConfigurationEnvironment

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Greengrass::FunctionConfigurationEnvironment object:

$service_obj->Method(Att1 => { AccessSysfs => $value, ..., Variables => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Greengrass::FunctionConfigurationEnvironment object:

$result = $service_obj->Method(...);
$result->Att1->AccessSysfs

DESCRIPTION

The environment configuration of the function.

ATTRIBUTES

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.

Execution => Paws::Greengrass::FunctionExecutionConfig

Configuration related to executing the Lambda function

ResourceAccessPolicies => ArrayRef[Paws::Greengrass::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.

Variables => Paws::Greengrass::__mapOf__string

Environment variables for the Lambda function's configuration.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Greengrass

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues