[][src]Struct rusoto_greengrass::FunctionConfigurationEnvironment

pub struct FunctionConfigurationEnvironment {
    pub access_sysfs: Option<bool>,
    pub execution: Option<FunctionExecutionConfig>,
    pub resource_access_policies: Option<Vec<ResourceAccessPolicy>>,
    pub variables: Option<HashMap<String, String>>,
}

The environment configuration of the function.

Fields

access_sysfs: Option<bool>

If true, the Lambda function is allowed to access the host's /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container.

execution: Option<FunctionExecutionConfig>

Configuration related to executing the Lambda function

resource_access_policies: Option<Vec<ResourceAccessPolicy>>

A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.

variables: Option<HashMap<String, String>>

Environment variables for the Lambda function's configuration.

Trait Implementations

impl Clone for FunctionConfigurationEnvironment[src]

impl Debug for FunctionConfigurationEnvironment[src]

impl Default for FunctionConfigurationEnvironment[src]

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

impl PartialEq<FunctionConfigurationEnvironment> for FunctionConfigurationEnvironment[src]

impl Serialize for FunctionConfigurationEnvironment[src]

impl StructuralPartialEq for FunctionConfigurationEnvironment[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> 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.