Class: Aws::GreengrassV2::Types::LambdaContainerParams

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 LambdaContainerParams data as a hash:

{
  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 information about a container in which Lambda functions run on Greengrass core devices.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#devicesArray<Types::LambdaDeviceMount>

The list of system devices that the container can access.

Returns:



2165
2166
2167
2168
2169
2170
2171
2172
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2165

class LambdaContainerParams < Struct.new(
  :memory_size_in_kb,
  :mount_ro_sysfs,
  :volumes,
  :devices)
  SENSITIVE = []
  include Aws::Structure
end

#memory_size_in_kbInteger

The memory size of the container, expressed in kilobytes.

Default: 16384 (16 MB)

Returns:

  • (Integer)


2165
2166
2167
2168
2169
2170
2171
2172
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2165

class LambdaContainerParams < Struct.new(
  :memory_size_in_kb,
  :mount_ro_sysfs,
  :volumes,
  :devices)
  SENSITIVE = []
  include Aws::Structure
end

#mount_ro_sysfsBoolean

Whether or not the container can read information from the device's /sys folder.

Default: false

Returns:

  • (Boolean)


2165
2166
2167
2168
2169
2170
2171
2172
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2165

class LambdaContainerParams < Struct.new(
  :memory_size_in_kb,
  :mount_ro_sysfs,
  :volumes,
  :devices)
  SENSITIVE = []
  include Aws::Structure
end

#volumesArray<Types::LambdaVolumeMount>

The list of volumes that the container can access.

Returns:



2165
2166
2167
2168
2169
2170
2171
2172
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2165

class LambdaContainerParams < Struct.new(
  :memory_size_in_kb,
  :mount_ro_sysfs,
  :volumes,
  :devices)
  SENSITIVE = []
  include Aws::Structure
end