Struct aws_sdk_greengrass::model::FunctionConfigurationEnvironment [−][src]
#[non_exhaustive]pub struct FunctionConfigurationEnvironment {
pub access_sysfs: bool,
pub execution: Option<FunctionExecutionConfig>,
pub resource_access_policies: Option<Vec<ResourceAccessPolicy>>,
pub variables: Option<HashMap<String, String>>,
}
Expand description
The environment configuration of the function.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.access_sysfs: 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: Option<FunctionExecutionConfig>
Configuration related to executing the Lambda function
resource_access_policies: Option<Vec<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: Option<HashMap<String, String>>
Environment variables for the Lambda function’s configuration.
Implementations
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.
Configuration related to executing the Lambda function
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.
Creates a new builder-style object to manufacture FunctionConfigurationEnvironment
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for FunctionConfigurationEnvironment
impl Sync for FunctionConfigurationEnvironment
impl Unpin for FunctionConfigurationEnvironment
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more