Struct aws_sdk_greengrassv2::model::LambdaVolumeMount [−][src]
#[non_exhaustive]pub struct LambdaVolumeMount {
pub source_path: Option<String>,
pub destination_path: Option<String>,
pub permission: Option<LambdaFilesystemPermission>,
pub add_group_owner: Option<bool>,
}
Expand description
Contains information about a volume that Linux processes in a container can access. When you define a volume, the IoT Greengrass Core software mounts the source files to the destination inside the container.
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.source_path: Option<String>
The path to the physical volume in the file system.
destination_path: Option<String>
The path to the logical volume in the file system.
permission: Option<LambdaFilesystemPermission>
The permission to access the volume: read/only (ro
) or read/write
(rw
).
Default: ro
add_group_owner: Option<bool>
Whether or not to add the IoT Greengrass user group as an owner of the volume.
Default: false
Implementations
Creates a new builder-style object to manufacture LambdaVolumeMount
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 LambdaVolumeMount
impl Send for LambdaVolumeMount
impl Sync for LambdaVolumeMount
impl Unpin for LambdaVolumeMount
impl UnwindSafe for LambdaVolumeMount
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