libZSservicesZSamazonka-greengrassZSamazonka-greengrass
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Greengrass.Types.FunctionConfigurationEnvironment

Description

 
Synopsis

Documentation

data FunctionConfigurationEnvironment Source #

The environment configuration of the function.

See: newFunctionConfigurationEnvironment smart constructor.

Constructors

FunctionConfigurationEnvironment' 

Fields

  • variables :: Maybe (HashMap Text Text)

    Environment variables for the Lambda function's configuration.

  • execution :: Maybe FunctionExecutionConfig

    Configuration related to executing the Lambda function

  • resourceAccessPolicies :: Maybe [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.

  • accessSysfs :: Maybe 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.

Instances

Instances details
Eq FunctionConfigurationEnvironment Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfigurationEnvironment

Read FunctionConfigurationEnvironment Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfigurationEnvironment

Show FunctionConfigurationEnvironment Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfigurationEnvironment

Generic FunctionConfigurationEnvironment Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfigurationEnvironment

Associated Types

type Rep FunctionConfigurationEnvironment :: Type -> Type #

NFData FunctionConfigurationEnvironment Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfigurationEnvironment

Hashable FunctionConfigurationEnvironment Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfigurationEnvironment

ToJSON FunctionConfigurationEnvironment Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfigurationEnvironment

FromJSON FunctionConfigurationEnvironment Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfigurationEnvironment

type Rep FunctionConfigurationEnvironment Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfigurationEnvironment

type Rep FunctionConfigurationEnvironment = D1 ('MetaData "FunctionConfigurationEnvironment" "Amazonka.Greengrass.Types.FunctionConfigurationEnvironment" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "FunctionConfigurationEnvironment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "execution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionExecutionConfig))) :*: (S1 ('MetaSel ('Just "resourceAccessPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceAccessPolicy])) :*: S1 ('MetaSel ('Just "accessSysfs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newFunctionConfigurationEnvironment :: FunctionConfigurationEnvironment Source #

Create a value of FunctionConfigurationEnvironment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:variables:FunctionConfigurationEnvironment', functionConfigurationEnvironment_variables - Environment variables for the Lambda function's configuration.

$sel:execution:FunctionConfigurationEnvironment', functionConfigurationEnvironment_execution - Configuration related to executing the Lambda function

$sel:resourceAccessPolicies:FunctionConfigurationEnvironment', functionConfigurationEnvironment_resourceAccessPolicies - 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.

$sel:accessSysfs:FunctionConfigurationEnvironment', functionConfigurationEnvironment_accessSysfs - 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.

functionConfigurationEnvironment_variables :: Lens' FunctionConfigurationEnvironment (Maybe (HashMap Text Text)) Source #

Environment variables for the Lambda function's configuration.

functionConfigurationEnvironment_resourceAccessPolicies :: Lens' FunctionConfigurationEnvironment (Maybe [ResourceAccessPolicy]) Source #

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.

functionConfigurationEnvironment_accessSysfs :: Lens' FunctionConfigurationEnvironment (Maybe Bool) Source #

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.