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

Class: Aws::Greengrass::Types::FunctionDefinitionVersion

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

{
  default_config: {
    execution: {
      isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
    },
  },
  functions: [
    {
      function_arn: "__string",
      function_configuration: {
        encoding_type: "binary", # accepts binary, json
        environment: {
          access_sysfs: false,
          execution: {
            isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
            run_as: {
              gid: 1,
              uid: 1,
            },
          },
          resource_access_policies: [
            {
              permission: "ro", # accepts ro, rw
              resource_id: "__string",
            },
          ],
          variables: {
            "__string" => "__string",
          },
        },
        exec_args: "__string",
        executable: "__string",
        memory_size: 1,
        pinned: false,
        timeout: 1,
      },
      id: "__string",
    },
  ],
}

Information about a function definition version.

Instance Attribute Summary collapse

Instance Attribute Details

#default_configTypes::FunctionDefaultConfig

Default configuration that will apply to all Lambda functions in this function definition version



2376
2377
2378
2379
2380
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 2376

class FunctionDefinitionVersion < Struct.new(
  :default_config,
  :functions)
  include Aws::Structure
end

#functionsArray<Types::Function>

A list of Lambda functions in this function definition version.

Returns:



2376
2377
2378
2379
2380
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 2376

class FunctionDefinitionVersion < Struct.new(
  :default_config,
  :functions)
  include Aws::Structure
end