Struct aws_sdk_greengrass::model::FunctionRunAsConfig [−][src]
Expand description
Specifies the user and group whose permissions are used when running the Lambda function. You can specify one or both values to override the default values. We recommend that you avoid running as root unless absolutely necessary to minimize the risk of unintended changes or malicious attacks. To run as root, you must set ’‘IsolationMode’’ to ’‘NoContainer’’ and update config.json in ’‘greengrass-root/config’’ to set ’‘allowFunctionsToRunAsRoot’’ to ’‘yes’’.
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.gid: i32
The group ID whose permissions are used to run a Lambda function.
uid: i32
The user ID whose permissions are used to run a Lambda function.
Implementations
Creates a new builder-style object to manufacture FunctionRunAsConfig
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 FunctionRunAsConfig
impl Send for FunctionRunAsConfig
impl Sync for FunctionRunAsConfig
impl Unpin for FunctionRunAsConfig
impl UnwindSafe for FunctionRunAsConfig
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