You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Greengrass::Types::FunctionConfigurationEnvironment

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb

Overview

Note:

When making an API call, you may pass FunctionConfigurationEnvironment data as a hash:

{
  access_sysfs: false,
  resource_access_policies: [
    {
      permission: "ro", # accepts ro, rw
      resource_id: "__string",
    },
  ],
  variables: {
    "__string" => "__string",
  },
}

Environment of the function configuration

Instance Attribute Summary collapse

Instance Attribute Details

#access_sysfsBoolean

Flag to allow lambda access sys filesystem.

Returns:

  • (Boolean)


1817
1818
1819
1820
1821
1822
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1817

class FunctionConfigurationEnvironment < Struct.new(
  :access_sysfs,
  :resource_access_policies,
  :variables)
  include Aws::Structure
end

#resource_access_policiesArray<Types::ResourceAccessPolicy>

Policies for the function to access resources.

Returns:



1817
1818
1819
1820
1821
1822
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1817

class FunctionConfigurationEnvironment < Struct.new(
  :access_sysfs,
  :resource_access_policies,
  :variables)
  include Aws::Structure
end

#variablesHash<String,String>

Returns:

  • (Hash<String,String>)


1817
1818
1819
1820
1821
1822
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1817

class FunctionConfigurationEnvironment < Struct.new(
  :access_sysfs,
  :resource_access_policies,
  :variables)
  include Aws::Structure
end