[][src]Struct rusoto_greengrass::FunctionRunAsConfig

pub struct FunctionRunAsConfig {
    pub gid: Option<i64>,
    pub uid: Option<i64>,
}

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

gid: Option<i64>

The group ID whose permissions are used to run a Lambda function.

uid: Option<i64>

The user ID whose permissions are used to run a Lambda function.

Trait Implementations

impl PartialEq<FunctionRunAsConfig> for FunctionRunAsConfig[src]

impl Default for FunctionRunAsConfig[src]

impl Clone for FunctionRunAsConfig[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FunctionRunAsConfig[src]

impl Serialize for FunctionRunAsConfig[src]

impl<'de> Deserialize<'de> for FunctionRunAsConfig[src]

Auto Trait Implementations

impl Send for FunctionRunAsConfig

impl Sync for FunctionRunAsConfig

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self