amazonka-greengrass-2.0: Amazon Greengrass SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Greengrass.Types.GroupOwnerSetting

Description

 
Synopsis

Documentation

data GroupOwnerSetting Source #

Group owner related settings for local resources.

See: newGroupOwnerSetting smart constructor.

Constructors

GroupOwnerSetting' 

Fields

  • autoAddGroupOwner :: Maybe Bool

    If true, AWS IoT Greengrass automatically adds the specified Linux OS group owner of the resource to the Lambda process privileges. Thus the Lambda process will have the file access permissions of the added Linux group.

  • groupOwner :: Maybe Text

    The name of the Linux OS group whose privileges will be added to the Lambda process. This field is optional.

Instances

Instances details
FromJSON GroupOwnerSetting Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GroupOwnerSetting

ToJSON GroupOwnerSetting Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GroupOwnerSetting

Generic GroupOwnerSetting Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GroupOwnerSetting

Associated Types

type Rep GroupOwnerSetting :: Type -> Type #

Read GroupOwnerSetting Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GroupOwnerSetting

Show GroupOwnerSetting Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GroupOwnerSetting

NFData GroupOwnerSetting Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GroupOwnerSetting

Methods

rnf :: GroupOwnerSetting -> () #

Eq GroupOwnerSetting Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GroupOwnerSetting

Hashable GroupOwnerSetting Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GroupOwnerSetting

type Rep GroupOwnerSetting Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GroupOwnerSetting

type Rep GroupOwnerSetting = D1 ('MetaData "GroupOwnerSetting" "Amazonka.Greengrass.Types.GroupOwnerSetting" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "GroupOwnerSetting'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoAddGroupOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "groupOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGroupOwnerSetting :: GroupOwnerSetting Source #

Create a value of GroupOwnerSetting 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:autoAddGroupOwner:GroupOwnerSetting', groupOwnerSetting_autoAddGroupOwner - If true, AWS IoT Greengrass automatically adds the specified Linux OS group owner of the resource to the Lambda process privileges. Thus the Lambda process will have the file access permissions of the added Linux group.

$sel:groupOwner:GroupOwnerSetting', groupOwnerSetting_groupOwner - The name of the Linux OS group whose privileges will be added to the Lambda process. This field is optional.

groupOwnerSetting_autoAddGroupOwner :: Lens' GroupOwnerSetting (Maybe Bool) Source #

If true, AWS IoT Greengrass automatically adds the specified Linux OS group owner of the resource to the Lambda process privileges. Thus the Lambda process will have the file access permissions of the added Linux group.

groupOwnerSetting_groupOwner :: Lens' GroupOwnerSetting (Maybe Text) Source #

The name of the Linux OS group whose privileges will be added to the Lambda process. This field is optional.