Class: Aws::Greengrass::Types::FunctionConfigurationEnvironment

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-greengrass/types.rb

Overview

The environment configuration of the function.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_sysfsBoolean

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.

Returns:

  • (Boolean)


1735
1736
1737
1738
1739
1740
1741
1742
# File 'lib/aws-sdk-greengrass/types.rb', line 1735

class FunctionConfigurationEnvironment < Struct.new(
  :access_sysfs,
  :execution,
  :resource_access_policies,
  :variables)
  SENSITIVE = []
  include Aws::Structure
end

#executionTypes::FunctionExecutionConfig

Configuration related to executing the Lambda function



1735
1736
1737
1738
1739
1740
1741
1742
# File 'lib/aws-sdk-greengrass/types.rb', line 1735

class FunctionConfigurationEnvironment < Struct.new(
  :access_sysfs,
  :execution,
  :resource_access_policies,
  :variables)
  SENSITIVE = []
  include Aws::Structure
end

#resource_access_policiesArray<Types::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.

Returns:



1735
1736
1737
1738
1739
1740
1741
1742
# File 'lib/aws-sdk-greengrass/types.rb', line 1735

class FunctionConfigurationEnvironment < Struct.new(
  :access_sysfs,
  :execution,
  :resource_access_policies,
  :variables)
  SENSITIVE = []
  include Aws::Structure
end

#variablesHash<String,String>

Environment variables for the Lambda function’s configuration.

Returns:

  • (Hash<String,String>)


1735
1736
1737
1738
1739
1740
1741
1742
# File 'lib/aws-sdk-greengrass/types.rb', line 1735

class FunctionConfigurationEnvironment < Struct.new(
  :access_sysfs,
  :execution,
  :resource_access_policies,
  :variables)
  SENSITIVE = []
  include Aws::Structure
end