Struct aws_sdk_greengrassv2::model::LambdaContainerParams [−][src]
#[non_exhaustive]pub struct LambdaContainerParams {
pub memory_size_in_kb: Option<i32>,
pub mount_ro_sysfs: Option<bool>,
pub volumes: Option<Vec<LambdaVolumeMount>>,
pub devices: Option<Vec<LambdaDeviceMount>>,
}
Expand description
Contains information about a container in which Lambda functions run on Greengrass core devices.
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.memory_size_in_kb: Option<i32>
The memory size of the container, expressed in kilobytes.
Default: 16384
(16 MB)
mount_ro_sysfs: Option<bool>
Whether or not the container can read information from the device's /sys
folder.
Default: false
volumes: Option<Vec<LambdaVolumeMount>>
The list of volumes that the container can access.
devices: Option<Vec<LambdaDeviceMount>>
The list of system devices that the container can access.
Implementations
Creates a new builder-style object to manufacture LambdaContainerParams
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 RefUnwindSafe for LambdaContainerParams
impl Send for LambdaContainerParams
impl Sync for LambdaContainerParams
impl Unpin for LambdaContainerParams
impl UnwindSafe for LambdaContainerParams
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