[][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 Clone for FunctionRunAsConfig[src]

impl Debug for FunctionRunAsConfig[src]

impl Default for FunctionRunAsConfig[src]

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

impl PartialEq<FunctionRunAsConfig> for FunctionRunAsConfig[src]

impl Serialize for FunctionRunAsConfig[src]

impl StructuralPartialEq for FunctionRunAsConfig[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.