Class: Aws::GreengrassV2::Types::LambdaLinuxProcessParams

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

Overview

Note:

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

{
  isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
  container_params: {
    memory_size_in_kb: 1,
    mount_ro_sysfs: false,
    volumes: [
      {
        source_path: "FileSystemPath", # required
        destination_path: "FileSystemPath", # required
        permission: "ro", # accepts ro, rw
        add_group_owner: false,
      },
    ],
    devices: [
      {
        path: "FileSystemPath", # required
        permission: "ro", # accepts ro, rw
        add_group_owner: false,
      },
    ],
  },
}

Contains parameters for a Linux process that contains an Lambda function.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_paramsTypes::LambdaContainerParams

The parameters for the container in which the Lambda function runs.



2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2549

class LambdaLinuxProcessParams < Struct.new(
  :isolation_mode,
  :container_params)
  SENSITIVE = []
  include Aws::Structure
end

#isolation_modeString

The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the IoT Greengrass container, or as a regular process outside any container.

Default: GreengrassContainer

Returns:

  • (String)


2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2549

class LambdaLinuxProcessParams < Struct.new(
  :isolation_mode,
  :container_params)
  SENSITIVE = []
  include Aws::Structure
end