Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data FunctionConfigurationEnvironment = FunctionConfigurationEnvironment' {}
- newFunctionConfigurationEnvironment :: FunctionConfigurationEnvironment
- functionConfigurationEnvironment_variables :: Lens' FunctionConfigurationEnvironment (Maybe (HashMap Text Text))
- functionConfigurationEnvironment_execution :: Lens' FunctionConfigurationEnvironment (Maybe FunctionExecutionConfig)
- functionConfigurationEnvironment_resourceAccessPolicies :: Lens' FunctionConfigurationEnvironment (Maybe [ResourceAccessPolicy])
- functionConfigurationEnvironment_accessSysfs :: Lens' FunctionConfigurationEnvironment (Maybe Bool)
Documentation
data FunctionConfigurationEnvironment Source #
The environment configuration of the function.
See: newFunctionConfigurationEnvironment
smart constructor.
FunctionConfigurationEnvironment' | |
|
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:variables:FunctionConfigurationEnvironment'
, functionConfigurationEnvironment_variables
- Environment variables for the Lambda function's configuration.
$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: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.
functionConfigurationEnvironment_variables :: Lens' FunctionConfigurationEnvironment (Maybe (HashMap Text Text)) Source #
Environment variables for the Lambda function's configuration.
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_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.