Class: Aws::Greengrass::Types::FunctionConfigurationEnvironment
- Inherits:
-
Struct
- Object
- Struct
- Aws::Greengrass::Types::FunctionConfigurationEnvironment
- 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
-
#access_sysfs ⇒ Boolean
If true, the Lambda function is allowed to access the host’s /sys folder.
-
#execution ⇒ Types::FunctionExecutionConfig
Configuration related to executing the Lambda function.
-
#resource_access_policies ⇒ Array<Types::ResourceAccessPolicy>
A list of the resources, with their permissions, to which the Lambda function will be granted access.
-
#variables ⇒ Hash<String,String>
Environment variables for the Lambda function’s configuration.
Instance Attribute Details
#access_sysfs ⇒ Boolean
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.
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 |
#execution ⇒ Types::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_policies ⇒ Array<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.
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 |
#variables ⇒ Hash<String,String>
Environment variables for the Lambda function’s configuration.
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 |