| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.Types.FunctionConfigurationEnvironment
Description
Synopsis
- data FunctionConfigurationEnvironment = FunctionConfigurationEnvironment' {}
- newFunctionConfigurationEnvironment :: FunctionConfigurationEnvironment
- functionConfigurationEnvironment_accessSysfs :: Lens' FunctionConfigurationEnvironment (Maybe Bool)
- functionConfigurationEnvironment_execution :: Lens' FunctionConfigurationEnvironment (Maybe FunctionExecutionConfig)
- functionConfigurationEnvironment_resourceAccessPolicies :: Lens' FunctionConfigurationEnvironment (Maybe [ResourceAccessPolicy])
- functionConfigurationEnvironment_variables :: Lens' FunctionConfigurationEnvironment (Maybe (HashMap Text Text))
Documentation
data FunctionConfigurationEnvironment Source #
The environment configuration of the function.
See: newFunctionConfigurationEnvironment smart constructor.
Constructors
| FunctionConfigurationEnvironment' | |
Fields
| |
Instances
newFunctionConfigurationEnvironment :: FunctionConfigurationEnvironment Source #
Create a value of FunctionConfigurationEnvironment with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessSysfs:FunctionConfigurationEnvironment', functionConfigurationEnvironment_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.
$sel:execution:FunctionConfigurationEnvironment', functionConfigurationEnvironment_execution - Configuration related to executing the Lambda function
$sel:resourceAccessPolicies:FunctionConfigurationEnvironment', functionConfigurationEnvironment_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.
$sel:variables:FunctionConfigurationEnvironment', functionConfigurationEnvironment_variables - Environment variables for the Lambda function's configuration.
functionConfigurationEnvironment_accessSysfs :: Lens' FunctionConfigurationEnvironment (Maybe Bool) Source #
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.
functionConfigurationEnvironment_execution :: Lens' FunctionConfigurationEnvironment (Maybe FunctionExecutionConfig) Source #
Configuration related to executing the Lambda function
functionConfigurationEnvironment_resourceAccessPolicies :: Lens' FunctionConfigurationEnvironment (Maybe [ResourceAccessPolicy]) Source #
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.
functionConfigurationEnvironment_variables :: Lens' FunctionConfigurationEnvironment (Maybe (HashMap Text Text)) Source #
Environment variables for the Lambda function's configuration.