[][src]Struct rusoto_greengrass::FunctionRunAsConfig

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

Specifies the user and/or group whose permissions are used when running the Lambda function. You can specify one or both values to override the default values (ggcuser/ggcgroup). 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 you must 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

Blanket Implementations

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> From for T[src]

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

type Error = Infallible

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

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